Mercurial > hg
diff hgext/hgk.py @ 3092:d0fcce3728d1
hgk: add revision numbers
author | Brendan Cully <brendan@kublai.com> |
---|---|
date | Wed, 13 Sep 2006 13:50:28 -0700 |
parents | c6bfe536a1f9 |
children | edefbb3a3b08 |
line wrap: on
line diff
--- a/hgext/hgk.py Tue Sep 12 17:27:41 2006 +0200 +++ b/hgext/hgk.py Wed Sep 13 13:50:28 2006 -0700 @@ -90,6 +90,7 @@ print "author %s %s %s" % (changes[1], date, date_ar[1]) print "committer %s %s %s" % (committer, date, date_ar[1]) + print "revision %d" % repo.changelog.rev(n) print "" if prefix != "": print "%s%s" % (prefix, changes[4].replace('\n', nlprefix).strip())