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

Re: New svn mergeinfo subcommand

From: Mark Phippard <markphip_at_gmail.com>
Date: 2007-09-20 01:51:15 CEST

On 9/19/07, Peter Samuelson <peter@p12n.org> wrote:
>
> [Mark Phippard]
> > It'd be cool if you could do this and get the exact results back efficiently:
> >
> > svn log -r 1:4, 9, 13:16, 22
> >
> > Then you could truly paste the results.
>
> Hmm, not quite. This is the old misfeature where -rM:N means something
> different in 'svn log' than in most other commands. (In particular it
> includes the left side of the range.) The meaning of ranges in
> 'mergeinfo', of course, is the same as in 'diff' and 'merge'.
>
> It's the same reason you can't expect 'svn log -r4:8' to refer to the
> same changes as 'svn diff -r4:8' today.

I think you are wrong on this. The ranges in svn:mergeinfo are the
actual revisions that have been merged, not the range you would have
used on svn merge. What I was proposing above is that the command
output the same -- which would also be the values you would feed svn
log.

Personally, I was not basing my opinions on what our tool accepts but
on what a user is likely thinking about. If I ask what revisions have
been merged or even are eligible to be merged, I would expect to see
those revisions, not the N-1 syntax that is needed to get them.

-- 
Thanks
Mark Phippard
http://markphip.blogspot.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Sep 20 01:51:26 2007

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.