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

Re: Deleting empty directories in SVN Update

From: Ryan Schmidt <subversion-2009a_at_ryandesign.com>
Date: Wed, 28 Jan 2009 12:27:02 -0600

On Jan 28, 2009, at 06:21, nikhilg.g_at_gmail.com wrote:

> When I update my source code to a previous revision. There are some
> directories that are left as empty (the directories were added
> later to the update revision). This then fails the next update to
> the latest revision (ERROR: Directory already exists).
>
> I want to delete the empty directories as well with the svn
> update.Is there any option in SVN to achieve this?

If an "svn update" would remove a directory, Subversion does remove
the directory, unless it contains unversioned or modified files, in
which case it does not delete the directory, because that would
destroy files that may not be in the repository.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1063924

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-01-28 19:28:10 CET

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.