Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
21026:7ee03e190c1d | 21027:25ee5dbebc6b |
---|---|
237 | | | 237 | | |
238 | o 1: 'E' | 238 | o 1: 'E' |
239 |/ | 239 |/ |
240 @ 0: 'A' | 240 @ 0: 'A' |
241 | 241 |
242 | |
243 Reopen branch by rebase | |
244 | |
245 $ hg up -qr3 | |
246 $ hg branch -q b | |
247 $ hg ci -m 'create b' | |
248 $ hg ci -m 'close b' --close | |
249 $ hg rebase -b 8 -d b | |
250 reopening closed branch head ea9de14a36c6 | |
251 saved backup bundle to $TESTTMP/a1/.hg/strip-backup/*-backup.hg (glob) | |
252 | |
242 $ cd .. | 253 $ cd .. |
243 | 254 |
244 Rebase to other head on branch | 255 Rebase to other head on branch |
245 | 256 |
246 Set up a case: | 257 Set up a case: |