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

Re: 'update' works, but 'status' and 'diff' don't

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-02-13 23:34:26 CET

On 2/13/06, Kevin Y. Kim <kykim_lists@mac.com> wrote:
> Hi all,
>
> I'm having a strange quandry with my repository.
>
> I have a project (FOO), and two users (A and B).
> User A and User B start with the same copy of the project.
> User A edits FILE1, and checks it in.
> When User B does a 'svn status' or 'svn diff', nothing gets reported.
> But when User B does a 'svn update', it reports that FILE1 get updated.
>
> Can anyone explain what has happened? And how I can fix my repository?

There's nothing to fix. By default, status and diff both work
relative to the version of the files you've checked out. Status will
tell you if you've changed anything locally, and diff will tell you
what the differences between the version you checked out (or updated
to) and your current version are. To compare against the current
version in the repos you can use 'svn status -u' or 'svn diff
-rBASE:HEAD'

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Feb 13 23:36:06 2006

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.