/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/bzr/xml5.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-11 04:08:32 UTC
  • mto: (7143.16.20 even-more-cleanups)
  • mto: This revision was merged to the branch mainline in revision 7175.
  • Revision ID: jelmer@jelmer.uk-20181111040832-nsljjynzzwmznf3h
Run autopep8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
        byid = inv._byid
65
65
        for e in elt:
66
66
            ie = unpack_inventory_entry(e, entry_cache=entry_cache,
67
 
                              return_from_cache=return_from_cache)
 
67
                                        return_from_cache=return_from_cache)
68
68
            parent_id = ie.parent_id
69
69
            if parent_id is None:
70
70
                ie.parent_id = parent_id = root_id
78
78
                                             byid[ie.file_id])
79
79
            if ie.name in parent.children:
80
80
                raise errors.BzrError("%s is already versioned"
81
 
                    % (osutils.pathjoin(inv.id2path(parent_id),
82
 
                       ie.name).encode('utf-8'),))
 
81
                                      % (osutils.pathjoin(inv.id2path(parent_id),
 
82
                                                          ie.name).encode('utf-8'),))
83
83
            parent.children[ie.name] = ie
84
84
            byid[ie.file_id] = ie
85
85
        if revision_id is not None: