/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 annotate/gannotate.py

  • Committer: Jelmer Vernooij
  • Date: 2007-03-06 13:48:35 UTC
  • mfrom: (157.1.9 trunk)
  • Revision ID: jelmer@samba.org-20070306134835-4e3gg9sq0ovvzwad
Merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
139
139
        current_revision.timestamp = time.time()
140
140
        current_revision.message = '[Not yet committed]'
141
141
        current_revision.parent_ids = tree.get_parent_ids()
 
142
        current_revision.properties['branch-nick'] = self.branch.nick
142
143
        current_revno = '%d?' % (self.branch.revno() + 1)
143
144
        repository = self.branch.repository
144
145
        if self.revision_id == CURRENT_REVISION:
369
370
    For when a revision is referenced but not present.
370
371
    """
371
372
 
372
 
    def __init__(self, revision_id, committer='?'):
 
373
    def __init__(self, revision_id, committer='?', nick=None):
373
374
        self.revision_id = revision_id
374
375
        self.parent_ids = []
375
376
        self.committer = committer
376
377
        self.message = "?"
377
378
        self.timestamp = 0.0
378
379
        self.timezone = 0
379
 
        self.properties = []
 
380
        self.properties = {}
380
381
 
381
382
 
382
383
class RevisionCache(object):