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

svn diff WC to HEAD revision

From: Roland Friedwagner <roland.friedwagner_at_wu-wien.ac.at>
Date: 2005-11-21 14:28:08 CET

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

-- 
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 14:31:56 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.