Windows does not support symlinks but there is a plugin for bzr that emulates this behavior. If the plugin is installed then this works. I think this should be a core feature of bzr and not a plugin. Also displaying a stack trace is not a useful error message for the user so even if it is decided to keep it as a plugin this is not the correct behavior. When checking out a branch that uses symlinks on Windows the following exception is raised:
bzr branch http://panoramicfeedback.com/opensource/bzr/be BugsEverywhere
.................................................................................................................................................................................................................................................................................................................................................................................................
bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'symlink'
Traceback (most recent call last):
File "bzrlib\commands.pyc", line 626, in run_bzr_catch_errors
File "bzrlib\commands.pyc", line 588, in run_bzr
File "bzrlib\commands.pyc", line 292, in run_argv_aliases
File "bzrlib\builtins.pyc", line 756, in run
File "bzrlib\bzrdir.pyc", line 688, in sprout
File "bzrlib\bzrdir.pyc", line 914, in create_workingtree
File "bzrlib\workingtree.pyc", line 2113, in initialize
File "bzrlib\transform.pyc", line 1008, in build_tree
File "bzrlib\transform.pyc", line 1093, in new_by_entry
File "bzrlib\transform.pyc", line 904, in new_symlink
File "bzrlib\transform.pyc", line 318, in create_symlink
AttributeError: 'module' object has no attribute 'symlink'
bzr 0.13.0candidate1 on python 2.4.4.final.0 (win32)
arguments: ['c:\\Programme\\Bazaar\\bzr.exe', 'branch', 'http://panoramicfeedback.com/opensource/bzr/be', 'BugsEverywhere']
** please send this report to <email address hidden>
nia@client0055 /d
$ bzr version
Bazaar (bzr) 0.13.0candidate1
Using python interpreter: c:\Programme\Bazaar\bzr.exe
Using python standard library: c:\Programme\Bazaar\lib\library.zip
Using bzrlib: c:\Programme\Bazaar\lib\library.zip\bzrlib
status confirmed
I agree, the least we should do is give a proper error.
-- samba.org/ ~jelmer/
Jelmer Vernooij <email address hidden> - http://