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

Cope with the fact that _type is gone in upstream dulwich.

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
        rev = self.source.get_revision(revid)
73
73
        commit = None
74
74
        for path, obj in self._object_store._revision_to_objects(rev, inv):
75
 
            if obj._type == "commit":
 
75
            if obj.type_name == "commit":
76
76
                commit = obj
77
77
            self._pending.append((obj, path))
78
78
        return commit.id