mercurial/commands.py
changeset 11165 e8915e19205a
parent 11164 e84600b0d81b
child 11169 3d0a9c8d7184
--- a/mercurial/commands.py	Mon May 10 08:53:06 2010 +0200
+++ b/mercurial/commands.py	Mon May 10 22:44:06 2010 +0200
@@ -3154,6 +3154,9 @@
         t += _(' (merge)')
     elif branch != parents[0].branch():
         t += _(' (new branch)')
+    elif (parents[0].extra().get('close') and
+          pnode in repo.branchheads(branch, closed=True)):
+        t += _(' (head closed)')
     elif (not st[0] and not st[1] and not st[2] and not st[7]):
         t += _(' (clean)')
         cleanworkdir = True