Race condition during `bzr push` causes AssertionError on `bzr pull`
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Subversion Plugin |
Fix Released
|
High
|
Jelmer Vernooij |
Bug Description
In a nutshell, I was pushing a local commit to the (private) Subversion server, and during that push, a co-worker committed a revision. Both revisions made it to the svn server (the post-commit hooks proved that), but bzr refuses to acknowlege the existence of the co-worker's revision (even with pull --overwrite). When the co-worker committed a second revision, I tried to pull from the server and the following happened:
$ bzr pull
Using saved parent location: /var/svn/trunk/
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return run_bzr(argv)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
possible_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
possible_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
_override_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
_override_
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
graph=graph)
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
self.
File "/usr/lib/
result = unbound(self, *args, **kwargs)
File "/usr/lib/
pb=nested_pb)
File "/usr/lib/
find_
File "/usr/lib/
self.
File "/usr/lib/
report_
File "/usr/lib/
reporter.
File "/usr/lib/
assert len(tview) == tview_len
AssertionError
bzr 1.10 on python 2.5.2 (linux2)
arguments: ['/usr/bin/bzr', 'pull']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
builddeb /usr/lib/
bzrtools /usr/lib/
difftools /home/malept/
interactive /home/malept/
launchpad /usr/lib/
loom /usr/lib/
rebase /usr/lib/
svn /usr/lib/
xmloutput /usr/lib/
The machine is an x86_64 Ubuntu Hardy install (using the bzr PPA), with Subversion 1.5.1 installed.
My bzr branch format:
Format:
control: Meta directory format 1
working tree: Working tree format 4
branch: Loom branch format 6
repository: Packs containing knits with rich root support
The .bzr.log output does not seem to give any additional relevant information than what is above.
This may or may not be similar to <https:/
Changed in bzr-svn: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in bzr-svn: | |
assignee: | nobody → Jelmer Vernooij (jelmer) |
the first issue you saw was indeed bug 248289; the second is independent and was fixed in bzr-svn earlier (0.5.0)