I am getting this error using both bzr 1.6b1 and bzr.dev revno:3493 when attempting to do 'bzr log -r branch:X'. Here is what I get:
cdb@tsunami ~/grub/repo/videotest $ ~/src/bzr/bzr.dev/bzr log -r branch:../upstream..
bzr: ERROR: bzrlib.errors.ReadOnlyError: A write attempt was made in a read only transaction on KnitPackRepository('file:///home/cdb/grub/repo/.bzr/repository/')
Traceback (most recent call last):
File "/home/cdb/src/bzr/bzr.dev/bzrlib/commands.py", line 846, in run_bzr_catch_errors
return run_bzr(argv)
File "/home/cdb/src/bzr/bzr.dev/bzrlib/commands.py", line 797, in run_bzr
ret = run(*run_argv)
File "/home/cdb/src/bzr/bzr.dev/bzrlib/commands.py", line 499, in run_argv_aliases
return self.run(**all_cmd_args)
File "/home/cdb/src/bzr/bzr.dev/bzrlib/commands.py", line 807, in ignore_pipe
result = func(*args, **kwargs)
File "/home/cdb/src/bzr/bzr.dev/bzrlib/builtins.py", line 1770, in run
rev1 = revision[0].in_history(b)
File "/home/cdb/src/bzr/bzr.dev/bzrlib/revisionspec.py", line 227, in in_history
return self._match_on_and_check(branch, revs)
File "/home/cdb/src/bzr/bzr.dev/bzrlib/revisionspec.py", line 206, in _match_on_and_check
info = self._match_on(branch, revs)
File "/home/cdb/src/bzr/bzr.dev/bzrlib/revisionspec.py", line 763, in _match_on
branch.fetch(other_branch, revision_b)
File "/home/cdb/src/bzr/bzr.dev/bzrlib/decorators.py", line 163, in write_locked
self.lock_write()
File "/home/cdb/src/bzr/bzr.dev/bzrlib/branch.py", line 1414, in lock_write
repo_token = self.repository.lock_write()
File "/home/cdb/src/bzr/bzr.dev/bzrlib/repofmt/pack_repo.py", line 1988, in lock_write
raise errors.ReadOnlyError(self)
ReadOnlyError: A write attempt was made in a read only transaction on KnitPackRepository('file:///home/cdb/grub/repo/.bzr/repository/')
bzr 1.6b3 on python 2.5.2 (linux2)
arguments: ['/home/cdb/src/bzr/bzr.dev/bzr', 'log', '-r', 'branch:../upstream..']
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
bzrtools /usr/lib/python2.5/site-packages/bzrlib/plugins/bzrtools [1.6.0]
gtk /home/cdb/.bazaar/plugins/gtk [0.95.0dev1]
launchpad /home/cdb/src/bzr/bzr.dev/bzrlib/plugins/launchpad [unknown]
usertest /home/cdb/.bazaar/plugins/usertest [unknown]
*** Bazaar has encountered an internal error.
Please report a bug at https://bugs.launchpad.net/bzr/+filebug
including this traceback, and a description of what you
were doing when the error occurred.
I am getting this error using both bzr 1.6b1 and bzr.dev revno:3493 when attempting to do 'bzr log -r branch:X'. Here is what I get:
cdb@tsunami ~/grub/ repo/videotest $ ~/src/bzr/ bzr.dev/ bzr log -r branch: ../upstream. . errors. ReadOnlyError: A write attempt was made in a read only transaction on KnitPackReposit ory('file: ///home/ cdb/grub/ repo/.bzr/ repository/ ')
bzr: ERROR: bzrlib.
Traceback (most recent call last): cdb/src/ bzr/bzr. dev/bzrlib/ commands. py", line 846, in run_bzr_ catch_errors cdb/src/ bzr/bzr. dev/bzrlib/ commands. py", line 797, in run_bzr cdb/src/ bzr/bzr. dev/bzrlib/ commands. py", line 499, in run_argv_aliases **all_cmd_ args) cdb/src/ bzr/bzr. dev/bzrlib/ commands. py", line 807, in ignore_pipe cdb/src/ bzr/bzr. dev/bzrlib/ builtins. py", line 1770, in run 0].in_history( b) cdb/src/ bzr/bzr. dev/bzrlib/ revisionspec. py", line 227, in in_history on_and_ check(branch, revs) cdb/src/ bzr/bzr. dev/bzrlib/ revisionspec. py", line 206, in _match_on_and_check on(branch, revs) cdb/src/ bzr/bzr. dev/bzrlib/ revisionspec. py", line 763, in _match_on fetch(other_ branch, revision_b) cdb/src/ bzr/bzr. dev/bzrlib/ decorators. py", line 163, in write_locked lock_write( ) cdb/src/ bzr/bzr. dev/bzrlib/ branch. py", line 1414, in lock_write .lock_write( ) cdb/src/ bzr/bzr. dev/bzrlib/ repofmt/ pack_repo. py", line 1988, in lock_write ReadOnlyError( self) ory('file: ///home/ cdb/grub/ repo/.bzr/ repository/ ')
File "/home/
return run_bzr(argv)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
result = func(*args, **kwargs)
File "/home/
rev1 = revision[
File "/home/
return self._match_
File "/home/
info = self._match_
File "/home/
branch.
File "/home/
self.
File "/home/
repo_token = self.repository
File "/home/
raise errors.
ReadOnlyError: A write attempt was made in a read only transaction on KnitPackReposit
bzr 1.6b3 on python 2.5.2 (linux2) cdb/src/ bzr/bzr. dev/bzr' , 'log', '-r', 'branch: ../upstream. .'] python2. 5/site- packages/ bzrlib/ plugins/ bzrtools [1.6.0] .bazaar/ plugins/ gtk [0.95.0dev1] src/bzr/ bzr.dev/ bzrlib/ plugins/ launchpad [unknown] .bazaar/ plugins/ usertest [unknown] /bugs.launchpad .net/bzr/ +filebug
arguments: ['/home/
encoding: 'ANSI_X3.4-1968', fsenc: 'ANSI_X3.4-1968', lang: None
plugins:
bzrtools /usr/lib/
gtk /home/cdb/
launchpad /home/cdb/
usertest /home/cdb/
*** 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.