D6225: rebase: demonstrate bug in dry-run mode which causes cycles to not be reported
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Fri Apr 12 16:07:52 UTC 2019
durin42 created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.
REPOSITORY
rHG Mercurial
REVISION DETAIL
https://phab.mercurial-scm.org/D6225
AFFECTED FILES
tests/test-rebase-dest.t
CHANGE DETAILS
diff --git a/tests/test-rebase-dest.t b/tests/test-rebase-dest.t
--- a/tests/test-rebase-dest.t
+++ b/tests/test-rebase-dest.t
@@ -206,6 +206,18 @@
abort: source and destination form a cycle
[255]
+BUG: cycles aren't flagged correctly when --dry-run is set:
+ $ rebasewithdag -s B -d 'SRC' --dry-run <<'EOS'
+ > C
+ > |
+ > B
+ > |
+ > Z
+ > EOS
+ abort: no rebase in progress
+ starting dry-run rebase; repository will not be changed
+ [255]
+
Switch roots:
$ rebasewithdag -s 'all() - roots(all())' -d 'roots(all()) - ::SRC' <<'EOS'
To: durin42, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list