~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-22 14:45:05 UTC
  • mfrom: (2294.1.11 utf8_file_ids)
  • Revision ID: pqm@pqm.ubuntu.com-20070222144505-5f7551602cad9332
(John Arbash Meinel, r=robert) Update apis to expect UTF-8 file ids instead of Unicode

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
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
 
            ie = self._unpack_entry(e, none_parents=True)
 
48
            ie = self._unpack_entry(e)
49
49
            inv.add(ie)
50
50
        return inv
51
51