/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to branchview/treemodel.py

  • Committer: Jelmer Vernooij
  • Date: 2008-06-29 18:12:29 UTC
  • mto: This revision was merged to the branch mainline in revision 519.
  • Revision ID: jelmer@samba.org-20080629181229-1l2m4cf7vvbyh8qg
Simplify progress bar code, use embedded progress bar inside viz window.

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
import pango
13
13
import re
14
14
from xml.sax.saxutils import escape
 
15
from bzrlib.revision import NULL_REVISION
15
16
 
16
17
from time import (strftime, localtime)
17
18
 
100
101
 
101
102
        if column == TAGS: return self.tags.get(revid, [])
102
103
 
103
 
        if revid is None:
 
104
        if not revid or revid == NULL_REVISION:
104
105
            return None
105
106
        if revid not in self.revisions:
106
107
            revision = self.repository.get_revisions([revid])[0]