[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r10025 - trunk/subversion/svnlook

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-06-18 18:17:51 CEST

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

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.