~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/revisiontree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-02-17 02:58:22 UTC
  • mfrom: (2249.5.20 knit_utf8_revision_ids)
  • Revision ID: pqm@pqm.ubuntu.com-20070217025822-306d98c244b53b08
(John Arbash Meinel) Clean up most internals to use utf-8 revision ids instead of Unicode.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
from cStringIO import StringIO
20
20
 
 
21
from bzrlib import (
 
22
    osutils,
 
23
    )
21
24
from bzrlib.tree import Tree
22
25
 
23
26
 
40
43
        self._repository = branch
41
44
        self._weave_store = branch.weave_store
42
45
        self._inventory = inv
43
 
        self._revision_id = revision_id
 
46
        self._revision_id = osutils.safe_revision_id(revision_id)
44
47
 
45
48
    def get_parent_ids(self):
46
49
        """See Tree.get_parent_ids.