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

Fix syntax errors.

Show diffs side-by-side

added added

removed removed

Lines of Context:
224
224
        self.mapping = mapping
225
225
        git_id = repository.lookup_git_revid(revision_id, self.mapping)
226
226
        try:
227
 
            commit = repository._git.commit(git_id)
228
 
        except KeyError, r:
 
227
            self.tree = repository._git.commit(git_id).tree
 
228
        except KeyError:
229
229
            raise errors.NoSuchRevision(repository, revision_id)
230
 
        self.tree = commit.tree
231
230
        self._inventory = inventory.Inventory(revision_id=revision_id)
232
231
        self._inventory.root.revision = revision_id
233
232
        self._build_inventory(self.tree, self._inventory.root, "")