windows command-line parser replaces \ with /
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
John A Meinel |
Bug Description
In bzr 2.1.0b3 there is landed patch from John Meinel for custom support of globs in command line.
Unfortunately it introduce bad regression: all backslahes replaced with forward ones even for non-filenames. See:
C:\Temp>bzr init 5
Created a standalone tree (format: pack-0.92)
C:\Temp\5>bzr mkdir foo
added foo
C:\Temp\5>bzr st
added:
foo/
C:\Temp\5>bzr mkdir foo\bar
added foo/bar
C:\Temp\5>bzr ci -m foo\bar
Committing to: C:/Temp/5/
added foo
added foo/bar
Committed revision 1.
C:\Temp\5>bzr log
-------
revno: 1
committer: Alexander Belchenko <email address hidden>
branch nick: 5
timestamp: Fri 2009-11-20 14:24:59 +0200
message:
foo/bar
Commit message should be "foo\bar" not "foo/bar".
Please, don't break Windows standard. Pretty please!
Related branches
- Alexander Belchenko: Approve
- bzr-core: Pending requested
-
Diff: 49 lines (+12/-4)3 files modifiedNEWS (+5/-0)
bzrlib/tests/test_win32utils.py (+6/-3)
bzrlib/win32utils.py (+1/-1)
Changed in bzr: | |
status: | New → Confirmed |
Changed in bzr: | |
assignee: | nobody → John A Meinel (jameinel) |
importance: | Undecided → High |
milestone: | none → 2.1.0b4 |
status: | Confirmed → Fix Released |
summary: |
- [win32][2.1.0b3] windows command-line parser replace \ with / + windows command-line parser replaces \ with / |