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

Re: Copying commited WC

From: Scott Palmer <scott.palmer_at_2connected.org>
Date: 2005-01-05 18:16:28 CET

On Jan 5, 2005, at 11:45 AM, Steve Greenland wrote:

> On Wed, Jan 05, 2005 at 02:07:09PM +0900, Clemens Schwaighofer wrote:
>> how can your WC be up to date, if you just commited a change to it?
>> (foo.c).
>
> How does my updating the *repository* make my WC out-of-date? If 'svn
> status' shows no differences, and 'svn update' will make no changes,
> why
> isn't it up to date?

Because just getting the status with --show-updates to see that update
won't do anything, doesn't actually change the base revisions to
reflect that the WC is the equivalent of the updated WC. You must run
the update to bump the base revisions.

Technically I suppose the status command could update the base revision
if it detected no changes in the repository for unmodified files in the
WC. Right? (I'm asking someone how knows - I'm ignorantly speculating
above)

Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jan 5 18:25:05 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.