bzr failure on checkout in Windows
Alexander Belchenko
bialix at ukr.net
Wed Oct 31 14:49:18 GMT 2007
Noam Lewis пишет:
> I was checking out on windows from a linux-based bazaar branch.
> Seems to be because windows does not support symlinks. Is there any
> solution to this?
win32symlink plugin could help (partially).
Now I'm working on integrating this plugin into bzr core,
and I'm already have working version.
I expect to make it public available at this weekend.
>
> Thanks,
> Noam
>
> C:\...\bzr\repo>bzr checkout http://,,,/main
> bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute
> 'symlink'
>
> Traceback (most recent call last):
> File "C:\Python25\lib\site-packages\bzrlib\commands.py", line 817, in
> run_bzr_catch_errors
> return run_bzr(argv)
> File "C:\Python25\lib\site-packages\bzrlib\commands.py", line 779, in
> run_bzr ret = run(*run_argv)
> File "C:\Python25\lib\site-packages\bzrlib\commands.py", line 477, in
> run_argv_aliases
> return self.run(**all_cmd_args)
> File "C:\Python25\lib\site-packages\bzrlib\builtins.py", line 972, in run
> source.create_checkout(to_location, revision_id, lightweight)
> File "C:\Python25\lib\site-packages\bzrlib\branch.py", line 808, in
> create_checkout
> tree = checkout.create_workingtree(revision_id)
> File "C:\Python25\lib\site-packages\bzrlib\bzrdir.py", line 1069, in
> create_workingtree
> return self._format.workingtree_format.initialize(self, revision_id)
> File "C:\Python25\lib\site-packages\bzrlib\workingtree_4.py", line
> 1311, in initialize
> transform.build_tree(basis, wt)
> File "C:\Python25\lib\site-packages\bzrlib\transform.py", line 1240,
> in build_tree
> return _build_tree(tree, wt)
> File "C:\Python25\lib\site-packages\bzrlib\transform.py", line 1304,
> in _build_tree
> tree)
> File "C:\Python25\lib\site-packages\bzrlib\transform.py", line 1393,
> in new_by_entry
> return tt.new_symlink(name, parent_id, target, entry.file_id)
> File "C:\Python25\lib\site-packages\bzrlib\transform.py", line 1037,
> in new_symlink
> self.create_symlink(target, trans_id)
> File "C:\Python25\lib\site-packages\bzrlib\transform.py", line 378, in
> create_symlink
> os.symlink(target, self._limbo_name(trans_id))
> AttributeError: 'module' object has no attribute 'symlink'
>
> bzr 0.90.0 on python 2.5.1.final.0 (win32)
> arguments: ['C:\\Python25\\Scripts\\bzr', 'checkout', 'http://.../main']
>
> ** please send this report to bazaar at lists.ubuntu.com
> <mailto:bazaar at lists.ubuntu.com>
More information about the bazaar
mailing list