equal
deleted
inserted
replaced
88 def printrevision(rev): |
88 def printrevision(rev): |
89 """print data about a revision""" |
89 """print data about a revision""" |
90 sys.stdout.write("Revision ") |
90 sys.stdout.write("Revision ") |
91 sys.stdout.flush() |
91 sys.stdout.flush() |
92 check_call(['hg', 'log', '--rev', str(rev), '--template', |
92 check_call(['hg', 'log', '--rev', str(rev), '--template', |
|
93 '{if(tags, " ({tags})")} ' |
93 '{rev}:{node|short}: {desc|firstline}\n']) |
94 '{rev}:{node|short}: {desc|firstline}\n']) |
94 |
95 |
95 def idxwidth(nbidx): |
96 def idxwidth(nbidx): |
96 """return the max width of number used for index |
97 """return the max width of number used for index |
97 |
98 |