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

Re: svn and ant

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-09-18 01:51:14 CEST

On Sep 16, 2005, at 16:29, Dave Pawson wrote:

> On 16/09/05, JP Fiset <jp@fiset.ca> wrote:
>> When deleting the directory, you end up deleting all .svn
>> subdirectories. This is what upsets subversion. Just delete the
>> actual
>> files, not the directories. Do not delete anything in **/.svn/*.*
>> It should look something like:
>> <delete>
>> <fileset dir="directory">
>> <include name="**/*.*"/>
>> <exclude name="**/.svn/*.*"/>
>> </fileset>
>> </delete>
> Now I understand :-)
> Many thanks for that.
> A worthwhile addition to 'the book' I'd have thought!

If you mean the Ant script, then I'd say that's outside the scope of
the Subversion book.

If you meant the wisdom that the .svn directories are important for
Subversion and not to be indiscriminately deleted, then The Book does
at least try to suggest that [1]:

"A working copy also contains some extra files, created and
maintained by Subversion [...]. In particular, each directory in your
working copy contains a subdirectory named .svn, also known as the
working copy administrative directory."

The only way I see for it to be clearer would be to add "Do not
delete the administrative directories or any of their contents" but
shouldn't that go without saying?

[1] http://svnbook.red-bean.com/en/1.1/ch02s03.html

To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Sep 18 01:52:51 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.