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

Re: Add -c option to merge

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-10-27 18:34:31 CEST

On Thu, 2005-10-27 at 00:42 -0700, Daniel L. Rall wrote:
> > "svn log -r 37" is not equivalent to "svn log -r 36:37", which is what
> > the proposed meaning of "-c 37" is.
> You're thinking about Subversion's specific implementation details, while
> I'm referring to the user interface.

I don't think it's fair at all; my (perhaps equally unfair) assessment
is that I was thinking about Subversion's user interface in a precise
and formal manner, while you were thinking about it in a more fuzzy way.

More objectively, Julian Foad has done an excellent job in
http://svn.haxx.se/dev/archive-2005-10/1334.shtml of explaining the
subtle difference between "revision as snapshot" and "revision as
change" in the user interface. It seems like your mental model is
geared much more towards "revision as change", and thus you saw svn log
as a shining example of usage and diff as terrible, since diff
stubbornly treats -r with a "revision as state" mindset.

Based on Julian's review, it sounds like most Subversion commands need
to continue treating -r in snapshot mode, "propset --revprop" and "log"
are currently treating it in change mode and should be migrated to -c,
and diff and merge can do either one and should support both.

To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 27 18:36:48 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.