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

Re: Idea for specifying revisions

From: <kfogel_at_collab.net>
Date: 2004-02-19 16:44:11 CET

"Garrick Olson" <Garrick.Olson@Aceva.com> writes:
> Has anyone considered allowing "arithmetic" as part of the "-r" option?
> For example:
> $ svn log -r HEAD:HEAD-10 foo
> $ svn log -r 123:123+5 bar
> I was thinking it would be most useful if the "arithmetic" was based on
> actually changed revisions rather than simply revision numbers. Thus,
> the examples above would mean "show me the last 10 changes to foo", and
> "show the first five changes to bar following revision 123" (which would
> *not* be the same as -r 123:128).
> Is there an alternative way to ask the first question?
> I often want to ask "what were the last X changes to Y", but this
> actually seems a bit difficult. I have to find out what the head
> revision is, and start subtracting, but since revision numbers are
> global for the repository, I can't just subtract X from the head
> revision.

Have you tried 'svn log -q PATH_OR_URL' ?

(I agree that some sort of new -r syntax could be an improvement, just
suggesting a workaround for now. And am avoiding the larger question
only because have other stuff on the front burners right now, not
because I think it's unworthy.)


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 19 17:47:02 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.