mercurial/commands.py
changeset 11164 e84600b0d81b
parent 11163 acd61dc44a39
child 11165 e8915e19205a
--- a/mercurial/commands.py	Mon May 10 08:43:36 2010 +0200
+++ b/mercurial/commands.py	Mon May 10 08:53:06 2010 +0200
@@ -745,6 +745,11 @@
           (parents[1] == nullrev or len(cl.heads(cl.node(parents[1]))) > 1)):
         ui.status(_('created new head\n'))
 
+    if not opts.get('close_branch'):
+        for r in parents:
+            if repo[r].extra().get('close'):
+                ui.status(_('reopening closed branch head %d\n') % r)
+
     if ui.debugflag:
         ui.write(_('committed changeset %d:%s\n') % (rev, hex(node)))
     elif ui.verbose: