tests/test-rebase-dest.t
changeset 42107 8890fce7c13d
parent 39707 5abc47d4ca6b
child 42108 1b5cec8b6a1e
--- a/tests/test-rebase-dest.t	Sat Apr 06 17:48:11 2019 +0200
+++ b/tests/test-rebase-dest.t	Fri Apr 12 11:41:33 2019 -0400
@@ -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'