diff tests/test-rebase-parameters.t @ 22382:d5b04ee8ecf7

rebase: add a deprecated -i/--interactive flag A common mistake can be to type 'hg rebase -i' to discover interactive history editing. We add a -i/--interactive flag as discussed in the sprint and deprecate it right away, but hint people using it to use histedit instead.
author David Soria Parra <davidsp@fb.com>
date Mon, 01 Sep 2014 11:48:55 +0200
parents b081decd9062
children 643c58303fb0
line wrap: on
line diff
--- a/tests/test-rebase-parameters.t	Tue Aug 19 01:13:10 2014 +0200
+++ b/tests/test-rebase-parameters.t	Mon Sep 01 11:48:55 2014 +0200
@@ -459,4 +459,12 @@
   tool option will be ignored
   saved backup bundle to $TESTTMP/b3/.hg/strip-backup/*-backup.hg (glob)
 
+  $ hg rebase -i
+  abort: interactive history editing is supported by the 'histedit' extension (see 'hg help histedit')
+  [255]
+
+  $ hg rebase --interactive
+  abort: interactive history editing is supported by the 'histedit' extension (see 'hg help histedit')
+  [255]
+
   $ cd ..