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

Re: defaulting 'svn log' to HEAD revision

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-01-04 15:40:11 CET

On Jan 4, 2005, at 9:29 AM, Jack O'Quin wrote:

> Ben Collins-Sussman <sussman@collab.net> writes:
>
> Need to habitually update after a commit.
>
>> True, but what can be done? The only solution is to make 'svn commit'
>> automatically run 'svn update'. That's pretty awful.
>
> Naive question: why is that bad?
>
> Is it because the commit may have been partial? Otherwise, the WC is
> now equivalent to the new HEAD,

NOT true.
WC is rev 1
another developer has committed rev 2 (but doesn't change the same
files as you)
check in WC to make rev 3
the WC is NOT HEAD because it doesn't have the changes from rev 2

> so updating it automatically makes
> good sense.

It makes sense because you probably want the changes from rev 2 using
my example above.

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 4 15:45:23 2005

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

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