bzr diff raisesNoSuchRevision in _get_revisions on ghost revisions
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Triaged
|
Medium
|
Unassigned |
Bug Description
The svn server runs Ubuntu 7.0.4 and subversion 1.4.
The bazaar branch was created about 1000 revisions away with older bazaar version (1.10 or 1.12) on Ubuntu 7.0.4.
Both the bazaar branch and the svn repository were accessed with various version of bazaar and bzr-svn on Linux, Windows and Mac OS X.
I have seen this error with this branch with previous bzr and bzr-svn versions.
$ bzr di -c2777
=== modified file 'HGSServer/
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/
result = func(*args, **kwargs)
File "/usr/lib/
extra_
File "/usr/lib/
return differ.
File "/usr/lib/
return self._show_
File "/usr/lib/
self.
File "/usr/lib/
new_path, old_kind, new_kind)
File "/usr/lib/
new_kind)
File "/usr/lib/
new_date = _patch_
File "/usr/lib/
mtime = tree.get_
File "/usr/lib/
revision = self._repositor
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
return self.get_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
return self._get_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
raise errors.
NoSuchRevision: KnitPackReposit
bzr 1.16.1 on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'di', '-c2777']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /usr/lib/
dbus /usr/lib/
launchpad /usr/lib/
netrc_
svn /home/nirs/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
summary: |
- bzr di raises NoSuchRevision in _get_revisions + bzr diff raisesNoSuchRevision in _get_revisions on ghost revisions |
this is a bug in the "bzr diff" command, which can't handle texts introduced by ghost revisions.
There's an open bug report about this somewhere already but I can't find it atm.