2010-03-09 02:02:31 |
Jelmer Vernooij |
description |
here is bug report on svn repository checkout fail:
Run command: bzr checkout svn://svn.shamangrad.net/FBDataSet/trunk D:\save\pas\2\trunk
bzr: ERROR: sqlite3.OperationalError: database is locked
Traceback (most recent call last):
File "bzrlib\commands.pyo", line 853, in exception_to_return_code
File "bzrlib\commands.pyo", line 1055, in run_bzr
File "bzrlib\commands.pyo", line 661, in run_argv_aliases
File "bzrlib\commands.pyo", line 665, in run_direct
File "bzrlib\cleanup.pyo", line 122, in run_simple
File "bzrlib\cleanup.pyo", line 156, in _do_with_cleanups
File "E:/Bazaar/plugins\qbzr\lib\subprocess.py", line 827, in run
File "bzrlib\commands.pyo", line 1055, in run_bzr
File "bzrlib\commands.pyo", line 661, in run_argv_aliases
File "bzrlib\commands.pyo", line 665, in run_direct
File "bzrlib\cleanup.pyo", line 122, in run_simple
File "bzrlib\cleanup.pyo", line 156, in _do_with_cleanups
File "bzrlib\builtins.pyo", line 1328, in run
File "E:/Bazaar/plugins\svn\branch.py", line 337, in create_checkout
File "E:/Bazaar/plugins\svn\branch.py", line 282, in _create_heavyweight_checkout
File "bzrlib\decorators.pyo", line 194, in write_locked
File "bzrlib\branch.pyo", line 962, in pull
File "E:/Bazaar/plugins\svn\branch.py", line 731, in pull
File "E:/Bazaar/plugins\svn\branch.py", line 666, in update_revisions
File "E:/Bazaar/plugins\svn\fetch.py", line 1246, in fetch
File "E:/Bazaar/plugins\svn\fetch.py", line 1059, in find_until
File "E:/Bazaar/plugins\svn\fetch.py", line 1038, in find_mainline
File "E:/Bazaar/plugins\svn\revmeta.py", line 886, in get_rhs_parents
File "E:/Bazaar/plugins\svn\revmeta.py", line 896, in get_parent_ids
File "E:/Bazaar/plugins\svn\cache\sqlitecache.py", line 395, in insert_parents
OperationalError: database is locked
bzr 2.1.0rc1 on python 2.5.4 (Windows-XP-5.1.2600-SP2)
arguments: ['e:\\Bazaar\\bzr.exe', 'qsubprocess', '--bencode', 'l8:checkout40:svn://svn.shamangrad.net/FBDataSet/trunk19:D:\\save\\pas\\2\\trunke']
encoding: 'cp1251', fsenc: 'mbcs', lang: None
plugins:
bzrtools E:\Bazaar\plugins\bzrtools [2.1.0b1]
explorer E:\Bazaar\plugins\explorer [0.11.2]
launchpad E:\Bazaar\plugins\launchpad [2.1.0rc1]
netrc_credential_store E:\Bazaar\plugins\netrc_credential_store [2.1.0rc1]
qbzr E:\Bazaar\plugins\qbzr [0.18.0]
rebase E:\Bazaar\plugins\rebase [0.5.5]
svn E:\Bazaar\plugins\svn [1.0.1]
upload E:\Bazaar\plugins\upload [1.0.0dev]
xmloutput E:\Bazaar\plugins\xmloutput [0.8.5]
*** 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://bugs.launchpad.net/bzr/+filebug
including this traceback and a description of the problem.
And here is report on try to see log on some file in working copy under svn-control looked by bzr explorer.
bzr: ERROR: exceptions.TypeError: _iter_inventories() takes exactly 2 arguments (3 given)
Traceback (most recent call last):
File "E:/Bazaar/plugins\qbzr\lib\loggraphprovider.py", line 806, in load_filter_file_id
File "E:/Bazaar/plugins\qbzr\lib\util.py", line 873, in decorate
File "E:/Bazaar/plugins\qbzr\lib\util.py", line 885, in run_in_loading_queue
File "E:/Bazaar/plugins\qbzr\lib\logmodel.py", line 79, in load_filter_file_id_chunk
File "E:/Bazaar/plugins\qbzr\lib\loggraphprovider.py", line 834, in load_filter_file_id_chunk
File "bzrlib\repository.pyo", line 2385, in iter_inventories
TypeError: _iter_inventories() takes exactly 2 arguments (3 given)
bzr 2.1.0rc1 on python 2.5.4 (win32)
arguments: ['e:\\Bazaar\\bzr.exe', '--command=explorer', '--file=D:\\save\\pas\\fbdataset']
encoding: 'cp1251', fsenc: 'mbcs', lang: None
plugins:
bzrtools E:\Bazaar\plugins\bzrtools [2.1.0b1]
explorer E:\Bazaar\plugins\explorer [0.11.2]
launchpad E:\Bazaar\plugins\launchpad [2.1.0rc1]
netrc_credential_store E:\Bazaar\plugins\netrc_credential_store [2.1.0rc1]
qbzr E:\Bazaar\plugins\qbzr [0.18.0]
rebase E:\Bazaar\plugins\rebase [0.5.5]
svn E:\Bazaar\plugins\svn [1.0.1]
upload E:\Bazaar\plugins\upload [1.0.0dev]
xmloutput E:\Bazaar\plugins\xmloutput [0.8.5] |
bzr-svn needs a new cache format, preferably based on standard bzr data formats. The current formats have some disadvantages:
* tdb: not available on windows
* large files
* sqlite: only one writer
* extra dependencies
* hard to pull across from another machine
The data doesn't have to be changed and can be thrown away if there's a reason for it - once the information for one revision is known it won't change.
|
|