[PATCH] Allow \@ and /@ for revision specifiers
Roncaglia Julien
bazaar-ng at virtualblackfox.net
Thu Jun 9 22:16:49 BST 2005
Another stupid-and-win32-related path.
PS: Note that the comment said "bzrlib\\commands.py" and not
"bzrlib\commands.py" escaping antislash...
*** modified file 'bzrlib\\commands.py'
--- bzrlib\commands.py
+++ bzrlib\commands.py
@@ -1084,8 +1084,11 @@
"""
if spec is None:
return [None, None]
- if '/@' in spec:
- parsed = spec.split('/@')
+ if ('/@' in spec) or ('\@' in spec):
+ if '/@' in spec:
+ parsed = spec.split('/@')
+ else:
+ parsed = spec.split('\@')
assert len(parsed) == 2
if parsed[1] == "":
parsed[1] = -1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050609/713e6364/attachment.pgp
More information about the bazaar
mailing list