NoSuchRevision with -r pointing to a remote branch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
$ bzr diff -r lp:launchpad/devel
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/home/
return super(cmd_diff, self).run(*args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
file_list, revision, old, new, self.add_cleanup, apply_view=True)
File "/usr/lib/
old_tree = _get_tree_
File "/usr/lib/
return spec.as_
File "/usr/lib/
return self._as_
File "/usr/lib/
return context_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
inv = self.get_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
return self.iter_
File "/usr/lib/
raise errors.
NoSuchRevision: CHKInventoryRep
You can report this problem to Bazaar's developers by running
apport-bug /var/crash/
if a bug-reporting window does not automatically appear.
% bzr --version
$ bzr --version
Bazaar (bzr) 2.2.1
Python interpreter: /usr/bin/python 2.6.5
Python standard library: /usr/lib/python2.6
Platform: Linux-2.
bzrlib: /usr/lib/
Bazaar configuration: /home/stub/.bazaar
Bazaar log file: /home/stub/.bzr.log
tags: | added: check-for-breezy |
I think what's happening here is that you're asking for a diff relative to a revision that's not actually in your local repository. If you pull the tip of devel, it should work.
Perhaps in this case we should run the diff against all the involved repositories.