bzr-svn problems

Shai Berger shai at aiseek.com
Mon Nov 12 07:38:28 GMT 2007


Hi Jelmer,

Thanks for your quick response.

Jelmer Vernooij wrote:
> Hi Shai,
>
> On Thu, Nov 08, 2007 at 03:30:32PM +0200, Shai Berger wrote:
>> I am trying to test bzr-svn to allow our developers to use Bazaar-NG
>> with our main SVN repository. Everybody uses Windows. I used
>> the python 0.92rc1 installer, the win32 svn-python bindings, and
>> bzr-svn version 0.4.4. Our SVN repository is built as recommended
>> (trunk/branches/tags), it has <6K commits, and it is <2G in size,
>> so I expected nothing special.
>> However, when I tried bzr status in an SVN-co'd working copy, I got
>> the attached bzr-status-error.txt.
> The attachment appears to be missing.
>
Here it is, as copied from the console.

*C:\Temp\Software2\src-svn>bzr status*
bzr: ERROR: exceptions.AttributeError: 'SvnWorkingTree' object has no 
attribute '_inventory'

Traceback (most recent call last):
  File "C:\Python25\Lib\site-packages\bzrlib\commands.py", line 802, in 
run_bzr_catch_errors
    return run_bzr(argv)
  File "C:\Python25\Lib\site-packages\bzrlib\commands.py", line 758, in 
run_bzr
    ret = run(*run_argv)
  File "C:\Python25\Lib\site-packages\bzrlib\commands.py", line 492, in 
run_argv_aliases
    return self.run(**all_cmd_args)
  File "C:\Python25\Lib\site-packages\bzrlib\commands.py", line 768, in 
ignore_pipe
    result = func(*args, **kwargs)
  File "C:\Python25\Lib\site-packages\bzrlib\builtins.py", line 185, in run
    tree, file_list = tree_files(file_list)
  File "C:\Python25\Lib\site-packages\bzrlib\builtins.py", line 64, in 
tree_files
    return internal_tree_files(file_list, default_branch)
  File "C:\Python25\Lib\site-packages\bzrlib\builtins.py", line 88, in 
internal_tree_files
    return WorkingTree.open_containing(default_branch)[0], file_list
  File "C:\Python25\Lib\site-packages\bzrlib\workingtree.py", line 340, 
in open_containing
    return control.open_workingtree(), relpath
  File 
"C:\Python25\lib\site-packages\bzrlib\plugins\svn\workingtree.py", line 
739, in open_workingtree
    return SvnWorkingTree(self, self.local_path, self.open_branch())
  File 
"C:\Python25\lib\site-packages\bzrlib\plugins\svn\workingtree.py", line 
93, in __init__
    self.read_working_inventory()
  File 
"C:\Python25\lib\site-packages\bzrlib\plugins\svn\workingtree.py", line 
348, in read_working_inventory
    add_dir_to_inv("", rootwc, None)
  File 
"C:\Python25\lib\site-packages\bzrlib\plugins\svn\workingtree.py", line 
336, in add_dir_to_inv
    add_dir_to_inv(subrelpath, subwc, id)
  File 
"C:\Python25\lib\site-packages\bzrlib\plugins\svn\workingtree.py", line 
336, in add_dir_to_inv
    add_dir_to_inv(subrelpath, subwc, id)
  File 
"C:\Python25\lib\site-packages\bzrlib\plugins\svn\workingtree.py", line 
342, in add_dir_to_inv
    add_file_to_inv(subrelpath, subid, subrevid, id)
  File 
"C:\Python25\lib\site-packages\bzrlib\plugins\svn\workingtree.py", line 
257, in add_file_to_inv
    file.executable = self.is_executable(id, relpath)
  File "C:\Python25\Lib\site-packages\bzrlib\workingtree.py", line 612, 
in is_executable
    return self._inventory[file_id].executable
AttributeError: 'SvnWorkingTree' object has no attribute '_inventory'

bzr 0.92.0.candidate.1 on python 2.5.0.final.0 (win32)
arguments: ['C:\\Python25\\Scripts\\bzr', 'status']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  launchpad            
C:\Python25\lib\site-packages\bzrlib\plugins\launchpad [unknown]
  multiparent          
C:\Python25\lib\site-packages\bzrlib\plugins\multiparent.pyc [unknown]
  svn                  C:\Python25\lib\site-packages\bzrlib\plugins\svn 
[0.4.4]

** Please send this report to bazaar at lists.ubuntu.com
   with a description of what you were doing when the
   error occurred.

>> Additionally, when I tried to bzr co from the SVN repo, at first I
>> saw a "copying revision ..." message, but then it stopped with:
>> bzr: ERROR: mismatched lock context and write group.
>> I hope to solve this, as of all the alternatives I'm looking at,
>> Bazaar seems to be the only one with a semi-decent GUI for Windows.
> This may be a Windows-specific issue. What version of Bazaar and
> bzr-svn are you using?
>
Bazaar 0.92rc1 and bzr-svn 0.4.4, Python 2.5.0 on Windows XP.

Thanks again, and please let me know if there is more info I could provide,

    Shai.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/bazaar/attachments/20071112/a15acd0b/attachment.htm 


More information about the bazaar mailing list