mercurial/commands.py
branchstable
changeset 11515 cc982ff2dcf8
parent 11508 fbab0875fd09
child 11518 8d827f4a23f1
child 11524 24965bb270b7
--- a/mercurial/commands.py	Sun Mar 28 15:23:11 2010 +0900
+++ b/mercurial/commands.py	Wed Jul 07 14:11:59 2010 +0200
@@ -803,7 +803,7 @@
 
     if not opts.get('close_branch'):
         for r in parents:
-            if r.extra().get('close'):
+            if r.extra().get('close') and r.branch() == branch:
                 ui.status(_('reopening closed branch head %d\n') % r)
 
     if ui.debugflag: