[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: Roland Friedwagner <roland.friedwagner_at_wu-wien.ac.at>
Date: 2005-11-21 15:25:04 CET

Dear David,
thanks for your suggestion.

svn diff -r HEAD [path] ist the other way around I'm looking for.
It is a kind of "diff -r HEAD:_working_copy_ [path]"

I'm looking the other way:
like this: diff -r _working_copy_:HEAD [PATH]

Thanks & Greetings,
Roland

Am Monday 21 November 2005 14:52 schrieb Gale, David:
> 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

-- 
Roland Friedwagner
Vienna University of Economics and Business Administration
Computing Center
Augasse 2-6 . A-1090 Wien . Österreich . Europe (E.U.)
Tel. (+43-1) 31336-5377   . Fax (+43-1) 31336-905377
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 21 15:35:21 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.