diff hgext/rebase.py @ 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 49f2d5644f04
children cb4223c65f79
line wrap: on
line diff
--- a/hgext/rebase.py	Sat Apr 27 23:19:52 2013 +0200
+++ b/hgext/rebase.py	Tue Nov 26 03:18:56 2013 +0100
@@ -289,6 +289,9 @@
                                                            inclusive=True)
                 external = externalparent(repo, state, targetancestors)
 
+            if dest.closesbranch() and not keepbranchesf:
+                ui.status(_('reopening closed branch head %s\n') % dest)
+
         if keepbranchesf:
             # insert _savebranch at the start of extrafns so if
             # there's a user-provided extrafn it can clobber branch if