Can't add files when branch at the root of some drive (on Windows)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
John A Meinel |
Bug Description
I'm running Windows XP SP3 with Bazaar Setup 1.11.1.
I've checked out an existing repository. I wanted to add some files. It doesn't matter if I use the command line or GUI, but if I type:
bzr add Computer
I get:
bzr: ERROR: No such file: u'F:/omputer'
So, the first character of Computer is ignored! Therefore, i cannot commit any file. For your info: F:\ is also 'My Documents'
do 2009-01-29 17:15:16 +0100
0.078 bzr arguments: [u'add', u'Computer']
0.078 looking for plugins in C:/Documents and Settings/
0.078 looking for plugins in C:/Program Files/Bazaar/
0.141 bzr-svn: using Subversion 1.5.4 ()
0.157 encoding stdout as sys.stdout encoding 'cp850'
0.235 opening SVN RA connection to 'file:/
0.235 Unable to open <bzrlib.
0.250 opening working tree 'F:/'
0.266 Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
NoSuchFile: No such file: u'F:/omputer'
Related branches
- John A Meinel: Needs Fixing
-
Diff: 12 lines1 file modifiedbzrlib/osutils.py (+1/-1)
- Andrew Bennetts: Needs Fixing
-
Diff: 154 lines3 files modifiedNEWS (+20/-21)
bzrlib/osutils.py (+9/-2)
bzrlib/tests/test_osutils.py (+43/-0)
Changed in bzr: | |
importance: | Undecided → High |
status: | New → Confirmed |
Changed in bzr: | |
assignee: | Jason Spashett (jspashett) → John A Meinel (jameinel) |
milestone: | none → 2.0.1 |
Changed in bzr: | |
status: | In Progress → Fix Committed |
this sounds quit serious to me.
I saw on #324494 that a workaround may be to prefix a bogus letter to the file name.
I'm marking this as confirmed because somebody else also reported it.