bzr-0.1-rc1: selftest bug (windows specific): problem with os.sep

Matthew Hannigan mlh at zip.com.au
Mon Oct 24 02:18:55 BST 2005


On Sun, Oct 23, 2005 at 06:47:54PM +0200, Wouter van Heyst wrote:
> On Sun, Oct 23, 2005 at 04:27:16PM +1000, Robert Collins wrote:
> > What I'd like us to use is:
> > 'os.sep' in user output
> > '\\' or '/' in user input is translated to '/'.

By '\\' are you including \ ?   I think os.sep should be allowed
in user input.  I suspect you mean this too, just want to be clear.
I wouldn't expect win users to type in c:\\Some Where\\Over The Rainbow
(if in fact they actually type in full pathnames anywhere)

> > '/' is used everywhere within the code base.
> 
> I prefer '/' in user output as well, but that might confuse Windows
> users (even though paths with / work fine on Windows)?


Yes, I think that using / is output everywhere would be nice.
It's what SVN does, for what it's worth. (A lot imho)

The upshot of the two above would result in being able
to copy and paste bzr output to (some other) bzr input,
which is a nice user-friendly feature.

--
Matt





More information about the bazaar mailing list