/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: Javier Derderian
  • Date: 2008-04-11 20:34:06 UTC
  • mto: (465.1.1 gtk.patch)
  • mto: This revision was merged to the branch mainline in revision 466.
  • Revision ID: javierder@gmail.com-20080411203406-ftlwyodw9vr87olv
Updated "Compare with..." (#78765) to use revbrowser.RevisionBrowser.
Also needed to fix #215872 to make it work.

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
16
15
 
17
16
from time import (strftime, localtime)
18
17
 
101
100
 
102
101
        if column == TAGS: return self.tags.get(revid, [])
103
102
 
104
 
        if not revid or revid == NULL_REVISION:
 
103
        if revid is None:
105
104
            return None
106
105
        if revid not in self.revisions:
107
106
            revision = self.repository.get_revisions([revid])[0]