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

Re: Revision Arithmetic

From: Christopher Ness <chris_at_nesser.org>
Date: 2005-08-29 14:46:44 CEST

On Sun, 2005-08-28 at 22:30 -0500, kfogel@collab.net wrote:
<snip />
> > Anybody see a problem?
<snip />
> I don't see a problem with this. I got thrown by the regexp until I
> remembered that you were intentionally supporting associativity.

I forgot about keywords in revisions like HEAD and PREV.
Those need to go into the regex as well. So replace [0-9] with
printable chars so changes will not have to be made if new revision
keywords are added in the future.

What about peg revisions? I think those are of the form:
     svn://some/url/file_at_100

Do these also get parsed by the same code as normal revisions to the -r
flag for validity?

Cheers,
Chris

-- 
PGP Public Key: http://www.nesser.org/pgp-key/
08:41:35 up 27 min, 2 users, load average: 0.17, 0.13, 0.13

Received on Mon Aug 29 14:45:41 2005

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.