[Pkg-bazaar-commits] ./bzr-gtk/unstable r197: Fix some warnings when displaying ghost revisions. Reported by John.
Jelmer Vernooij
jelmer at samba.org
Fri Apr 10 07:45:34 UTC 2009
------------------------------------------------------------
revno: 197
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: trunk
timestamp: Sat 2007-05-19 10:58:19 +0100
message:
Fix some warnings when displaying ghost revisions. Reported by John.
modified:
logview.py
viz/graph.py
-------------- next part --------------
=== modified file 'logview.py'
--- a/logview.py 2007-04-21 14:55:37 +0000
+++ b/logview.py 2007-05-19 09:58:19 +0000
@@ -58,8 +58,9 @@
self.committer.set_text(revision.committer)
else:
self.committer.set_text("")
- self.timestamp.set_text(format_date(revision.timestamp,
- revision.timezone))
+ if revision.timestamp is not None:
+ self.timestamp.set_text(format_date(revision.timestamp,
+ revision.timezone))
self.message_buffer.set_text(revision.message)
try:
self.branchnick_label.set_text(revision.properties['branch-nick'])
=== modified file 'viz/graph.py'
--- a/viz/graph.py 2006-09-06 09:27:12 +0000
+++ b/viz/graph.py 2007-05-19 09:58:19 +0000
@@ -26,7 +26,10 @@
self.revision_id = revid
self.parent_ids = []
self.committer = None
+ self.timestamp = None
+ self.timezone = None
self.message = self.revision_id
+ self.properties = {}
class RevisionProxy(object):
More information about the Pkg-bazaar-commits
mailing list