Mercurial > hg > mercurial-crew-with-dirclash
diff hgext/hgk.py @ 3089: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 +++ b/hgext/hgk.py @@ -90,6 +90,7 @@ def catcommit(repo, n, prefix, changes=N 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())