Mercurial > public > mercurial-scm > hg
diff mercurial/hgweb/webutil.py @ 14055:421d56a055fd
drop {short,hex}(ctx.node()) calls in favor of ctx methods
author | Alexander Solovyov <alexander@solovyov.net> |
---|---|
date | Sat, 30 Apr 2011 12:55:07 +0200 |
parents | bfeaa88b875d |
children | 1d3e2349304a |
line wrap: on
line diff
--- a/mercurial/hgweb/webutil.py Fri Apr 29 22:21:13 2011 +0300 +++ b/mercurial/hgweb/webutil.py Sat Apr 30 12:55:07 2011 +0200 @@ -66,7 +66,7 @@ if len(siblings) == 1 and siblings[0].rev() == hiderev: return for s in siblings: - d = {'node': hex(s.node()), 'rev': s.rev()} + d = {'node': s.hex(), 'rev': s.rev()} d['user'] = s.user() d['date'] = s.date() d['description'] = s.description()