Mercurial > repos > public > sbplib_julia
comparison benchmark/benchmark_utils.jl @ 1308:a8e76daaf2ae tooling/benchmarks
Better return for hg_update()
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Wed, 26 Apr 2023 13:37:18 +0200 |
parents | 27afd53511d4 |
children | 7fc84c2f9e1d |
comparison
equal
deleted
inserted
replaced
1307:27afd53511d4 | 1308:a8e76daaf2ae |
---|---|
127 end | 127 end |
128 | 128 |
129 function hg_update(rev) | 129 function hg_update(rev) |
130 cmd = Cmd(`hg update --check -r $rev`, dir=sbplib_root) | 130 cmd = Cmd(`hg update --check -r $rev`, dir=sbplib_root) |
131 run(addenv(cmd, "HGPLAIN"=>"")) | 131 run(addenv(cmd, "HGPLAIN"=>"")) |
132 | |
133 return nothing | |
132 end | 134 end |
133 | 135 |
134 """ | 136 """ |
135 hg_commit(msg; secret=false) | 137 hg_commit(msg; secret=false) |
136 | 138 |