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

Re: [PATCH] Trace and canelation editor changes part 4

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2002-01-10 21:35:13 CET

"Bill Tutt" <rassilon@lyra.org> writes:

> Note: svn diff doesn't work very well by default on a file that has a WC
> state of "A" btw.

Not very specific... Files with state "A" are in the diff regression
tests, do those fail? Taking a wild guess, is your problem this one:

 /usr/bin/diff: /foo/bar/.svn/empty-file: No such file or directory

The empty-file feature was added to the admin area when 'svn diff -r'
was introduced (rev 660). If you are using a working copy that
predates this then diff for added/removed files won't work. The
empty-file doesn't get created on the fly because that's not the way
the admin area works (e.g. removing .svn/tmp/text-base will cause
problems).

In
http://subversion.tigris.org/servlets/ReadMsg?msgId=49722&listName=dev
I suggested the bash shell commands

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

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

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

will create the files.

If you are on a Microsoft box I can't help you, but someone else may
be able to write a suitable script. Or check out a new working copy.

-- 
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:55 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.