[PATCH] -r 1-100 not -r1:100 please...
Rusty Russell
rusty at rustcorp.com.au
Fri May 27 05:22:24 BST 2005
OK, you knew this was coming 8)
*** modified file 'bzrlib/commands.py'
--- bzrlib/commands.py
+++ bzrlib/commands.py
@@ -43,9 +43,8 @@
There are several possibilities:
'234' -> 234
- '234:345' -> [234, 345]
- ':234' -> [None, 234]
- '234:' -> [234, None]
+ '234-345' -> [234, 345]
+ '234-' -> [234, None]
In the future we will also support:
'uuid:blah-blah-blah' -> ?
@@ -53,8 +52,8 @@
potentially:
'tag:mytag' -> ?
"""
- if revstr.find(':') != -1:
- revs = revstr.split(':')
+ if revstr.find('-') != -1:
+ revs = revstr.split('-')
if len(revs) > 2:
raise ValueError('More than 2 pieces not supported for --revision: %r' % revstr)
--
A bad analogy is like a leaky screwdriver -- Richard Braakman
More information about the bazaar
mailing list