Comment 5 for bug 369404

Revision history for this message
Martitza (martitzam) wrote : Re: [Bug 369404] Re: Wrong Path Separator in bzr output on Windows

If I can find some time to do a proper job I may look at this. I can
imagine that the separator may be hardcoded or cannonicalized to the unix
form in very many places. Just finding them might take a while.

And besides passing the existing tests, should there be any new tests?

Also I can imagine people have written scripts which depend on existing
behavior and might want a bzr.config option to control how output is formed:

path_sep_for_output = mode

with mode being "slash" or "backslash" or "native" where "native" would be
the default to use os.sep

-M

On Thu, May 28, 2009 at 1:28 AM, Martin Pool <email address hidden> wrote:

> I'd happily take a patch (that pases tests) that changes us to using
> os.sep here.
>
> ** Changed in: bzr
> Importance: Undecided => Medium
>
> ** Changed in: bzr
> Status: New => Confirmed
>
> --
> Wrong Path Separator in bzr output on Windows
> https://bugs.launchpad.net/bugs/369404
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in Bazaar Version Control System: Confirmed
>
> Bug description:
> bzr 1.3.1 installed via the "default" installer for Windows
>
> On windows, bzr accepts input using the windows path separator \ but prints
> all output using the unix separator /
>
> As silly as this sounds, this little annoyance makes some people (my
> coworkers) doubt that bzr is serious about supporting windows.
>
> Session attached.
>
> I go back and forth a lot between linux and windows. So I make heavy use
> of os.sep and think it would be a good idea for bzr also.
>
> Martitza
>