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

Re: svn diff between working copy is different from svn diff between repository path

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-06-24 14:47:15 CEST

On Thu, 2004-06-24 at 04:16, Hardi Gunawan wrote:
> All this while I'm doing svn diff between working
> copies. Then I'd merge a branch into the trunk.
> After sometimes, I realized that the 2 working copies
> is not identical, even after a merge.
>
> So I did a diff between the 2 working copies. It
> shows no result. Then I tried to do ad diff between
> the 2 repository location. It shows a lot of result.
>
> Before every diff or merge, I always run a svn status
> and svn update on both working copy.
>
> Did I do something wrong? Seems like my repository
> has gone haywire now :(

You need to show us specific examples, not give us descriptions of what
you think you're doing. If we can see your exact commands and results,
we can de-confuse you and show you what's really happening.

I hope you understand that 'svn diff foo.c bar.c' does *not* compare
foo.c and bar.c with each other! It means, "show me any local changes
on foo.c, then show me any local changes on bar.c". That might be
leading to your confusion.

There's no way (at this time) to have 'svn diff' compare two working
copies. That's probably the source of confusion.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 24 14:49:34 2004

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.