`bzr co .` in branch with WT gives error FileExists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
I run `bzr co .` in branch with WT instead of `bzr up` and got ugly error:
C:\work\
bzr: ERROR: File exists: u'C:/work/
C:\work\
bzr: ERROR: bzrlib.
Traceback (most recent call last):
File "C:\work\
return run_bzr(argv)
File "C:\work\
ret = run(*run_argv)
File "C:\work\
return self.run(
File "C:\work\
source.
File "C:\work\
checkout = format.
File "C:\work\
mode=
File "C:\work\
self.
File "C:\work\
self.
File "C:\work\
raise errors.
FileExists: File exists: u'C:/work/
bzr 0.92.0dev0 on python 2.4.4.final.0 (win32)
arguments: ['bzr', '-Derror', 'co', '.']
I think error should say "There is already exists checkout/working tree", but not talk about .bzr directory.
tags: | added: check-for-breezy |
I ran into this today as well, though the default error is now even more verbose with bzr 1.2.0 on FreeBSD (python 2.5):
[tim@dalek ~/tmp/demo]$ bzr checkout home/tim/ tmp/demo/ .bzr': [Errno 17] File exists: '/usr/home/ tim/tmp/ demo/.bzr'
[tim@dalek ~/tmp/demo]$ bzr checkout
bzr: ERROR: File exists: u'/usr/