[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: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2001-12-18 04:52:00 CET

On Mon, Dec 17, 2001 at 05:47:29PM -0600, Karl Fogel wrote:
> Philip Martin <philip@codematters.co.uk> writes:
> > > 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.

i had to escape the { and } to make that command work. (perhaps because
i'm using tcsh)

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

-garrett

-- 
garrett rooney                     Unix was not designed to stop you from 
rooneg@electricjellyfish.net       doing stupid things, because that would  
http://electricjellyfish.net/      stop you from doing clever things.
---------------------------------------------------------------------
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.