Mercurial > hg
changeset 3415:9a6491770b04
Report branch for hg id
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 17 Oct 2006 18:30:19 -0500 |
parents | 52617d992eed |
children | 145a8fde69e6 |
files | mercurial/commands.py |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Tue Oct 17 18:30:18 2006 -0500 +++ b/mercurial/commands.py Tue Oct 17 18:30:19 2006 -0500 @@ -1577,6 +1577,11 @@ (modified or added or removed or deleted) and "+" or "")] if not ui.quiet: + + branch = repo.workingctx().branch() + if branch: + output.append("(%s)" % branch) + # multiple tags for a single parent separated by '/' parenttags = ['/'.join(tags) for tags in map(repo.nodetags, parents) if tags]