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

RE: svn diff WC to HEAD revision

From: Gale, David <David.Gale_at_Hypertherm.com>
Date: 2005-11-21 14:52:18 CET

Roland Friedwagner wrote:
> Dear all svn users,
>
> from time to time collegues of me coming up with an interesting file
> diff question:
>
> Can I make an diff from my Working Copy version of a file to the HEAD
> revision in the repository.
>
> The same stuff you get useing this bash command:
> diff -u "file" <(svn cat -r HEAD "file")
> (but this only works if you do not have to specify a password to the
> server)
>
> The output of the diff should be "a kind of" patch to remove all the
> changes i've made in the checked out BASE revision and adds all the
> stuff made
> from the checked out revision to HEAD revision.
>
> Kind Regards,
> Roland

Try 'svn diff -r HEAD [path]'.

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 21 14:56: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.