bzr 2.1.0 on windows: bzr eats backslashes in command-line arguments
Bug #528944 reported by
Alexander Belchenko
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Gordon Tyler | ||
2.1 |
Fix Released
|
High
|
Alexander Belchenko | ||
QBzr |
Fix Released
|
High
|
Alexander Belchenko |
Bug Description
C:\Temp\1>bzr ci -m "move to \\ACAD"
Committing to: C:/Temp/1/
added bar
Committed revision 2.
C:\Temp\1>bzr log -l1
-------
revno: 2
committer: Alexander Belchenko <email address hidden>
branch nick: 1
timestamp: Sat 2010-02-27 13:28:14 +0200
message:
move to \ACAD
NOTE: in log message there should be 2 backslashes, but there is only one!
I discover this while doing commit with qcommit and my first guess was: something wrong with Qt. But then I've managed to reproduce the problem with plain bzr. I think there is bug in new windows-specific command-line parser. For me it's a critical regression.
Related branches
lp:~bialix/bzr/2.1-528944-backslashes-strike-back
- Martin Packman (community): Approve
- Gordon Tyler: Approve
- John A Meinel: Pending requested
- bzr-core: Pending requested
-
Diff: 142 lines (+54/-55)2 files modifiedbzrlib/tests/test_win32utils.py (+21/-1)
bzrlib/win32utils.py (+33/-54)
Changed in qbzr: | |
assignee: | nobody → Alexander Belchenko (bialix) |
summary: |
- bzr 2.1.0 on windows: bzr eats backslashes in arguments + bzr 2.1.0 on windows: bzr eats backslashes in command-line arguments |
Changed in qbzr: | |
milestone: | none → 0.18.5 |
Changed in bzr: | |
importance: | High → Critical |
To post a comment you must log in.
Corresponding part of .bzr.log:
0.219 bazaar version: 2.1.0 Bazaar\ plugins plugins
0.219 bzr arguments: [u'ci', u'-m', u'move to \\ACAD']
0.266 looking for plugins in C:\work\
0.484 looking for plugins in C:/Program Files/Bazaar/
0.578 encoding stdout as sys.stdout encoding 'cp866'
0.641 opening working tree 'C:/Temp/1'
0.687 preparing to commit
[ 1792] 2010-02-27 13:28:14.953 INFO: Committing to: C:/Temp/1/
0.719 Selecting files for commit with filter None
[ 1792] 2010-02-27 13:28:14.953 INFO: added bar
[ 1792] 2010-02-27 13:28:15.171 INFO: Committed revision 2.
0.937 Transferred: 0KiB (0.0K/s r:0K w:0K)
0.953 return code 0