[Pkg-bazaar-commits] ./bzr/unstable r22: bzr info: show date of first and latest commit
mbp at sourcefrog.net
mbp at sourcefrog.net
Fri Apr 10 07:25:19 UTC 2009
------------------------------------------------------------
revno: 22
committer: mbp at sourcefrog.net
timestamp: Sat 2005-03-12 10:19:34 +1100
message:
bzr info: show date of first and latest commit
modified:
bzr.py
-------------- next part --------------
=== modified file 'bzr.py'
--- a/bzr.py 2005-03-11 06:36:25 +0000
+++ b/bzr.py 2005-03-11 23:19:34 +0000
@@ -235,6 +235,13 @@
firstrev = b.get_revision(history[0])
age = int((time.time() - firstrev.timestamp) / 3600 / 24)
print ' %5d day%s old' % (age, plural(age))
+ print ' first revision: %s' % format_date(firstrev.timestamp,
+ firstrev.timezone)
+
+ lastrev = b.get_revision(history[-1])
+ print ' latest revision: %s' % format_date(lastrev.timestamp,
+ lastrev.timezone)
+
More information about the Pkg-bazaar-commits
mailing list