~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revision.py

  • Committer: Jelmer Vernooij
  • Date: 2005-11-21 20:10:56 UTC
  • mto: (1185.33.40 bzr.dev)
  • mto: This revision was merged to the branch mainline in revision 1512.
  • Revision ID: jelmer@samba.org-20051121201056-b5b364b20cb58115
Don't clear Revision.parent_ids after it has been set from the arguments

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        self.revision_id = revision_id
46
46
        self.properties = properties or {}
47
47
        self._check_properties()
48
 
        self.__dict__.update(args)
49
48
        self.parent_ids = []
50
49
        self.parent_sha1s = []
 
50
        self.__dict__.update(args)
51
51
 
52
52
    def __repr__(self):
53
53
        return "<Revision id %s>" % self.revision_id