/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/plugins/git/push.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-07-03 03:20:44 UTC
  • mfrom: (7018.3.10 git-fixes)
  • Revision ID: breezy.the.bot@gmail.com-20180703032044-t5a5w5y0tmzrbezc
Port a few more bits of the git plugin to python 3.

Merged from https://code.launchpad.net/~jelmer/brz/git-fixes2/+merge/348803

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        rev = self.source.get_revision(revid)
81
81
        commit = None
82
82
        for path, obj in self._object_store._revision_to_objects(rev, tree, lossy):
83
 
            if obj.type_name == "commit":
 
83
            if obj.type_name == b"commit":
84
84
                commit = obj
85
85
            self._pending.append((obj, path))
86
86
        if commit is None: