Mercurial > hg
changeset 11165:e8915e19205a
summary: show if commit will be from a closed head
author | Gilles Moris <gilles.moris@free.fr> |
---|---|
date | Mon, 10 May 2010 22:44:06 +0200 |
parents | e84600b0d81b |
children | 7613832a80be |
files | mercurial/commands.py |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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