discovery-helper: echo the stripped revsets early
authorPierre-Yves David <pierre-yves.david@octobus.net>
Thu, 07 Mar 2019 17:21:22 +0100
changeset 41894 aea6bc63884d
parent 41893 39020ff59b37
child 41895 c1017bceb6ec
discovery-helper: echo the stripped revsets early Having them printed early make it easy for a user to just grab the generated revset and directly uses them
contrib/perf-utils/discovery-helper.sh
--- a/contrib/perf-utils/discovery-helper.sh	Thu Mar 07 17:15:15 2019 +0100
+++ b/contrib/perf-utils/discovery-helper.sh	Thu Mar 07 17:21:22 2019 +0100
@@ -51,6 +51,10 @@
 leftsubset="ancestors($left, $depth) and only($left, heads(all() - $left))"
 rightsubset="ancestors($right, $depth) and only($right, heads(all() - $right))"
 
+echo '### creating left/right repositories with missing changesets:'
+echo '# left  revset:' '"'${leftsubset}'"'
+echo '# right revset:' '"'${rightsubset}'"'
+
 echo '### building left repository:' $left-repo
 echo '# cloning'
 hg clone --noupdate "${repo}" "${leftrepo}"