changeset 41894:aea6bc63884d

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
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Thu, 07 Mar 2019 17:21:22 +0100
parents 39020ff59b37
children c1017bceb6ec
files contrib/perf-utils/discovery-helper.sh
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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}"