diff benchmark/benchmark_utils.jl @ 1311:5eb1d0ae0ac1 tooling/benchmarks

Add docs for hg_is_dirty
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 26 Apr 2023 13:38:50 +0200
parents 8754d0f06ce4
children f7621dd600e4
line wrap: on
line diff
--- a/benchmark/benchmark_utils.jl	Wed Apr 26 13:38:34 2023 +0200
+++ b/benchmark/benchmark_utils.jl	Wed Apr 26 13:38:50 2023 +0200
@@ -168,6 +168,12 @@
 
     return nothing
 end
+
+"""
+    hg_is_dirty()
+
+Return true if the repositopry has uncommited changes.
+"""
 function hg_is_dirty()
     cmd = Cmd(`hg identify --id`, dir=sbplib_root)
     out = readchomp(addenv(cmd, "HGPLAIN"=>""))