testbzr fails on windows with bad line endings.

Martin Pool mbp at sourcefrog.net
Thu May 26 04:05:18 BST 2005


On 25 May 2005, Michael Ellerman <michael+bazaar at ellerman.id.au> wrote:
> On Wed, 25 May 2005 15:50, John A Meinel wrote:
> > Since windows supports it, I think we should use '/' as the path separator. 
> > It just unifies platforms.

I have heard different opinions on whether or not Windows "supports"
'/' as a path separator.  It seems like there is some support, but
many programs don't cope well, and it troubles some users.  So on the
whole it's probably better to use os.path.sep externally.

In internal-use files we should try to use /, so that they can be
moved between unix and windows.

For things like .bzrignore that are edited by the user we probably
want to accept either separator on all platforms.

-- 
Martin




More information about the bazaar mailing list