Cannot perform concurrent push to different branches in the same Subversion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bzr-svn (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bzr-svn
A Subversion repository comprises many branches whereas each Bazaar branch is independent -- obvious fact, but there are consequences. In particular, two Bazaar branches related to the same Subversion repository are data coupled in a way that is counter-intuitive -- the branches are independent and all local operations can be carried out concurrently, but any operations involving the Subversion repository must be serialized. Yet this is not obvious as the Bazaar branches are independent entities, the user has to remember that they are in fact associated with the same Subversion store.
Moreover the error message reported when a problem occurs is not the right error message, this is not a Bazaar failure except insofar that the error message is wrong and Bazaar should be dealing with this a lot better than it currently does. I propose that when a lock is encountered there is a message output and then the process backs off for a retry rather than just failing with a catastrophic error such as:
Using saved location: svn+https:/
The svn+ syntax is deprecated, use https:/
bzr: ERROR: sqlite3.
Traceback (most recent call last):
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
use_
File "/home/
stop_
File "/home/
result = unbound(self, *args, **kwargs)
File "/home/
_override_
File "/home/
result = self._basic_
File "/home/
result.
File "/home/
last_revid = self.last_
File "/home/
return self.generate_
File "/home/
revnum, self.get_
File "/home/
return self.get_
File "/home/
self.
File "/home/
(min_revnum, max_revnum, revid, branch, scheme))
OperationalError: database is locked
bzr 1.7dev on python 2.5.2 (linux2)
arguments: ['/home/
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
builddeb /usr/lib/
bzrtools /home/users/
email /home/users/
gtk /home/users/
launchpad /home/Checkouts
pqm /usr/lib/
rebase /home/users/
svn /home/users/
xmloutput /home/users/
*** 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.