windows command-line parser replaces \ with /

Bug #485771 reported by Alexander Belchenko
6
This bug affects 1 person
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!

Tags: win32

Related branches

Changed in bzr:
status: New → Confirmed
John A Meinel (jameinel)
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 /
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.