# HG changeset patch # User Gilles Moris # Date 1273524246 -7200 # Node ID e8915e19205aa984aba960ca16d6710c791c4286 # Parent e84600b0d81b7a3946fe3833239c68cee39f27ef summary: show if commit will be from a closed head diff -r e84600b0d81b -r e8915e19205a mercurial/commands.py --- 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