Mercurial > hg-stable
changeset 4020:dbf250b80cc2
Add branch name to editor text.
author | Simon 'corecode' Schubert <corecode@fs.ei.tum.de> |
---|---|
date | Thu, 11 Jan 2007 19:47:51 +0100 |
parents | c3864dfb7812 |
children | 1590558e9f60 |
files | mercurial/localrepo.py |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/localrepo.py Thu Jan 11 19:33:34 2007 +0100 +++ b/mercurial/localrepo.py Thu Jan 11 19:47:51 2007 +0100 @@ -761,6 +761,8 @@ edittext.append("HG: user: %s" % user) if p2 != nullid: edittext.append("HG: branch merge") + if branchname: + edittext.append("HG: branch %s" % branchname) edittext.extend(["HG: changed %s" % f for f in changed]) edittext.extend(["HG: removed %s" % f for f in removed]) if not changed and not remove: