diff tests/test-rebase-named-branches.t @ 21027:25ee5dbebc6b

rebase: tell when reopening a closed branch head Give same 'reopening closed branch head X' message as commit gives.
author Mads Kiilerich <madski@unity3d.com>
date Tue, 26 Nov 2013 03:18:56 +0100
parents 7876013de139
children 328afbad6e57
line wrap: on
line diff
--- a/tests/test-rebase-named-branches.t	Sat Apr 27 23:19:52 2013 +0200
+++ b/tests/test-rebase-named-branches.t	Tue Nov 26 03:18:56 2013 +0100
@@ -239,6 +239,17 @@
   |/
   @  0: 'A'
   
+
+Reopen branch by rebase
+
+  $ hg up -qr3
+  $ hg branch -q b
+  $ hg ci -m 'create b'
+  $ hg ci -m 'close b' --close
+  $ hg rebase -b 8 -d b
+  reopening closed branch head ea9de14a36c6
+  saved backup bundle to $TESTTMP/a1/.hg/strip-backup/*-backup.hg (glob)
+
   $ cd ..
 
 Rebase to other head on branch