kfogel@collab.net wrote:
>Branko Čibej <brane@xbc.nu> writes:
>
>
>>>Author: kfogel
>>>Date: Fri Jun 18 00:10:37 2004
>>>New Revision: 10025
>>>
>>>Modified:
>>> trunk/subversion/svnlook/main.c
>>>Log:
>>>Fix issue #1930: 'svnlook diff -rX:Y' should fail outright.
>>>
>>>* subversion/svnlook/main.c
>>> (main): Parse revision number more carefully.
>>>
>>>
>>Seems to me this would be a candidate for a utility in libsvn_subr,
>>perhaps in opt.c or cmdline.c?
>>
>>
>
>Does someone other than 'svnlook' use this particular limited -r
>syntax?
>
"svn up" comes to mind. Really, that's just a special case of our -r
X[:Y] syntax, so you should be able to use the common parser in svnlook
and simply bail out if the second rev is given.
-- Brane
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jun 18 18:20:23 2004