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

Re: svn diff of working copy file to unrelated branch file

From: Johan Corveleyn <jcorvel_at_gmail.com>
Date: Fri, 29 Jun 2012 09:25:07 +0200

On Thu, Jun 28, 2012 at 10:59 PM, <jwenners_at_rockwellcollins.com> wrote:
>
> Here is the scenario:
>
> User 1
>    1. create branches/X
>    2. svn checkout branches/X to local machine
>    3. modify file.txt
>    4. commit changes
>
>
> Another user, User 2,
>    5. create branches/Y
>    6. svn checkout branches/Y to his local machine
>    7. merge branches/X to local machine    (and thus merges file.txt into branches/Y)
>    8. use svn diff to verify that the changes to file.txt in the local copy of branches/Y succeeded before committing the change.
>
>
> Since svn diff can not compare the local working copy to that of a URL, this is impossible to do without first committing the change to branches/Y.

I don't understand. If you want to see what has changed, after the
merge, to file.txt in your working copy of branches/Y, 'svn diff
file.txt' should do the trick, no?

--
Johan
Received on 2012-06-29 09:26:09 CEST

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.