/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 viz/branchwin.py

  • Committer: Gary van der Merwe
  • Date: 2007-09-06 17:55:13 UTC
  • mto: (256.2.37 gtk)
  • mto: This revision was merged to the branch mainline in revision 289.
  • Revision ID: garyvdm@gmail.com-20070906175513-rmu73x7zhqhtx3u2
Better line drawing with info from merge_sort

Show diffs side-by-side

added added

removed removed

Lines of Context:
186
186
        gobject.idle_add(self.populate_model, start, maxnum)
187
187
 
188
188
    def populate_model(self, start, maxnum):
189
 
        (linegraphdata, index, revisions) = linegraph(self.branch,
190
 
                                                      start,
191
 
                                                      maxnum)
 
189
        (linegraphdata, index) = linegraph(self.branch,
 
190
                                           start,
 
191
                                           maxnum)
 
192
        print "linegraph compleate"
192
193
        self.index = index
193
 
        self.revisions = revisions
 
194
        self.revisions = []
194
195
        
195
196
        last_lines = []
196
 
        for (index,(revision,
 
197
        for (index,(revid,
197
198
                    node,
198
199
                    lines,
199
200
                    parents,
203
204
            # and lines with no message or commit data - and then incrementally
204
205
            # fill the timestamp, committer etc data as desired.
205
206
            
 
207
            revision = self.branch.repository.get_revisions([revid])[0]
 
208
            self.revisions.append(revision)
 
209
            
206
210
            message = revision.message.split("\n")[0]
207
211
            
208
212
            if revision.committer is not None: