Mercurial > hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
3082:bed7cb835d8d | 3092:d0fcce3728d1 |
---|---|
88 else: | 88 else: |
89 committer = changes[1] | 89 committer = changes[1] |
90 | 90 |
91 print "author %s %s %s" % (changes[1], date, date_ar[1]) | 91 print "author %s %s %s" % (changes[1], date, date_ar[1]) |
92 print "committer %s %s %s" % (committer, date, date_ar[1]) | 92 print "committer %s %s %s" % (committer, date, date_ar[1]) |
93 print "revision %d" % repo.changelog.rev(n) | |
93 print "" | 94 print "" |
94 if prefix != "": | 95 if prefix != "": |
95 print "%s%s" % (prefix, changes[4].replace('\n', nlprefix).strip()) | 96 print "%s%s" % (prefix, changes[4].replace('\n', nlprefix).strip()) |
96 else: | 97 else: |
97 print changes[4] | 98 print changes[4] |