Mercurial > hg
changeset 3458:6e998a4575c6
Show extra changeset info for log/tip/heads/... --debug
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 18 Oct 2006 11:55:32 +0200 |
parents | fcf14d87e0a4 |
children | 0600d326d96a |
files | mercurial/commands.py |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Oct 18 10:46:51 2006 -0500 +++ b/mercurial/commands.py Wed Oct 18 11:55:32 2006 +0200 @@ -326,7 +326,8 @@ changes = log.read(changenode) date = util.datestr(changes[2]) - branch = changes[5].get("branch") + extra = changes[5] + branch = extra.get("branch") hexfunc = self.ui.debugflag and hex or short @@ -366,6 +367,13 @@ copies = ['%s (%s)' % c for c in copies] self.ui.note(_("copies: %s\n") % ' '.join(copies)) + if extra and self.ui.debugflag: + extraitems = extra.items() + extraitems.sort() + for key, value in extraitems: + self.ui.debug(_("extra: %s=%s\n") + % (key, value.encode('string_escape'))) + description = changes[4].strip() if description: if self.ui.verbose: