[MERGE] Accept ..\ as a path in revision specifiers

Lukáš Lalinský lalinsky at gmail.com
Sat Aug 25 19:26:42 BST 2007


Hi,

bzrlib.option._parse_revision_string currently splits revisions on ..
that is not followed by /, which causes problems with Windows paths:

> bzr diff -r branch:..\bzr.dev
bzr: ERROR: No namespace registered for string: u'\\bzr.dev'

I would expect this to work with both \ and /.

(And another patch that removed usage of %r in error messages will
follow. I think 'No namespace registered for string: "\bzr.dev"' would
look much nicer and the u must be really confusing to people who don't
know Python.)

Lukas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: backslash-in-revspec.diff
Type: text/x-patch
Size: 3677 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070825/5cadc133/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Toto je =?ISO-8859-1?Q?digit=E1lne?=
	=?ISO-8859-1?Q?_podp=EDsan=E1?= =?UTF-8?Q?_=C4=8Das=C5=A5?=
	=?ISO-8859-1?Q?_spr=E1vy?=
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070825/5cadc133/attachment.pgp 


More information about the bazaar mailing list