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

Fix formatting.

Show diffs side-by-side

added added

removed removed

Lines of Context:
254
254
                raise NoSuchRef(self.source.name, heads.keys())
255
255
            if stop_revision is not None:
256
256
                self._last_revid = stop_revision
257
 
                head, mapping = self.source.lookup_git_revid(stop_revision)
 
257
                head, mapping = self.source.repository.lookup_git_revid(
 
258
                    stop_revision)
258
259
            else:
259
260
                head = heads[self.source.name]
260
 
                self._last_revid = self.source.mapping.revision_id_foreign_to_bzr(
261
 
                    head)
 
261
                self._last_revid = \
 
262
                    self.source.mapping.revision_id_foreign_to_bzr(head)
262
263
            if self.target.repository.has_revision(self._last_revid):
263
264
                return []
264
265
            return [head]