/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

Merge switch to using git format for lightweight checkouts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
237
237
        bzr_refs = {}
238
238
        refs = {}
239
239
        for k in self.target._git.refs.allkeys():
240
 
            v = self.target._git.refs[k]
 
240
            try:
 
241
                v = self.target._git.refs[k]
 
242
            except KeyError:
 
243
                # broken symref?
 
244
                continue
241
245
            try:
242
246
                for (kind, type_data) in self.source_store.lookup_git_sha(v):
243
247
                    if kind == "commit" and self.source.has_revision(type_data[0]):