Merged revisions not present on separate checkout.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
New
|
Undecided
|
Unassigned |
Bug Description
Here's a set of instructions that will break bzr checkouts of svn branches. When trying to reproduce it I could only get the error on bzr annotate, but in the real branch I got it on bzr diff. The problem is that merged revisions are not available, and i guess it's not completely easy to fixed, except to use a shared repository where the original branch is also available. That might not always be an option, however.
Steps to reproduce:
svnadmin create svn
svn co file://`pwd`/svn svnco
cd svnco
svn mkdir trunk
svn ci -m 'added trunk'
cd ..
bzr init bzr
cd bzr
echo "test" > test
bzr add
bzr ci -m 'test'
cd ..
bzr co file://
cd bzrco
bzr merge -r0..-1 ../bzr
bzr ci -m 'merged bzr'
cd ..
bzr co file://
cd bzrco2
bzr annotate test
This will produce:
bzr: ERROR: Revision {('test-
Thu 2010-01-28 10:21:12 +0000
0.035 bzr arguments: [u'annotate', u'test']
0.047 looking for plugins in /home/pelle/
0.108 looking for plugins in /usr/local/
0.157 opening working tree '/home/
0.168 Traceback (most recent call last):
File "/usr/local/
return the_callable(*args, **kwargs)
File "/usr/local/
ret = run(*run_argv)
File "/usr/local/
return self.run(
File "/usr/local/
result = func(*args, **kwargs)
File "/usr/local/
show_
File "/usr/local/
annotations = list(tree.
File "/usr/local/
result = unbound(self, *args, **kwargs)
File "/usr/local/
for key, line in annotator.
File "_annotator_
File "/usr/local/
for text_key, text, num_lines in self._get_
File "/usr/local/
raise errors.
RevisionNotPresent: Revision {('test-