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

Re: svn commit: rev 660 - trunk trunk/subversion/include trunk/subversion/libsvn_wc trunk/subversion/libsvn_client trunk/subversion/clients/cmdline trunk/subversion/tests/clients/cmdline

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2001-12-18 00:22:36 CET

philip@tigris.org writes:

> Author: philip
> Date: 2001-12-17 23:10 GMT
> New Revision: 660
>
> Added:
> trunk/subversion/libsvn_wc/diff.c
> trunk/subversion/tests/clients/cmdline/diff_tests.py
> Modified:
> trunk/build.conf
> trunk/subversion/clients/cmdline/diff-cmd.c
> trunk/subversion/clients/cmdline/main.c
> trunk/subversion/include/svn_client.h
> trunk/subversion/include/svn_wc.h
> trunk/subversion/libsvn_client/diff.c
> trunk/subversion/libsvn_wc/adm_files.c
> trunk/subversion/libsvn_wc/wc.h
> Log:
> Provides 'svn diff -r REV' functionality to compare the working copy
> against a given revision in the repository. The existing 'svn diff'
> behaviour is unchanged.

Just a quick summary:

   $ svn diff

works as before, but

   $ svn diff -r REV

compares your working copy against the repository. This includes
showing diffs for files that have been added and removed. If you check
out a new working copy there will be an additional empty file in the
admin area that is used for add/remove diffs. This doesn't exist in
any current working copies but can be added as follows:

   $ cd <some working copy>
   $ find . -name \\.svn -type d -exec echo touch {}/empty-file \;

which will produce echo a series of touch commands. If those look
sensible then without the echo

   $ find . -name \\.svn -type d -exec touch {}/empty-file \;

will create the files. You do not *need* to do this, it is only
necessary if you want to diff added or removed files.

-- 
Philip
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:53 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.