before: revspec trying to write to branch with read-only lock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
bzr log -r before:
in dir /home/buildslav
watching logfiles {}
argv: ['bzr', 'log', '-r', 'before:']
environment:
HOME=
LANG=en_US.UTF-8
LOGNAME=
MAKEFLAGS=w
MAKELEVEL=1
MFLAGS=-w
PATH=
PWD=/
SHELL=/bin/sh
using PTY: False
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 "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
rev1, rev2 = _get_revision_
File "/usr/lib/
rev1 = rev2 = revisionspec_
File "/usr/lib/
return self._match_
File "/usr/lib/
info = self._match_
File "/usr/lib/
r = RevisionSpec.
File "/usr/lib/
return self._try_
File "/usr/lib/
return rs.in_history(
File "/usr/lib/
return self._match_
File "/usr/lib/
info = self._match_
File "/usr/lib/
branch.
File "/usr/lib/
self.
File "/usr/lib/
return self.control_
File "/usr/lib/
raise errors.
ReadOnlyError: A write attempt was made in a read only transaction on LockableFiles(lock, file://
bzr 2.1.2 on python 2.6.6 (Linux-
arguments: ['/usr/bin/bzr', 'log', '-r', 'before:']
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_US.UTF-8'
plugins:
bzrtools /usr/lib/
launchpad /usr/lib/
netrc_
news_merge /usr/lib/
svn /home/buildslav
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
tags: | added: check-for-breezy |
jelmer had the following to say on IRC:
<jelmer> idnar: actually, it seems like this is being triggered by ghosts
<jelmer> so the revspec (before:) is trying to use some revision data that is not present in the svn branch
<jelmer> it tries to fetch that data into the branch, but that is not possible because the branch is read-only locked
<idnar> okay, I was thinking something along those lines but wasn't familiar with the internals
<idnar> should I file a bug report against...bzr-svn, I guess?
<jelmer> idnar: I think this is a bug in bzr itself, in the before: revspec
<jelmer> idnar: it just happens to be triggered by bzr-svn, or this particular situation