~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/xml6.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:
42
42
                                                   % format)
43
43
        revision_id = elt.get('revision_id')
44
44
        if revision_id is not None:
45
 
            revision_id = cache_utf8.get_cached_unicode(revision_id)
 
45
            revision_id = cache_utf8.encode(revision_id)
46
46
        inv = inventory.Inventory(root_id=None, revision_id=revision_id)
47
47
        for e in elt:
48
48
            ie = self._unpack_entry(e, none_parents=True)