You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Lukas Ruf <ru...@rawip.org> on 2004/04/16 06:13:47 UTC

Corret deletion of subdirectories of working copies?

Dear all,

what is the right way to delete a subdirectory of a working copy?

svn delete

removes the directory in the repository, right?

rm -rf

removes it locally.  But then,

svn commit

reports problems.

Is there any solution besides manually editing the .svn/entries?

Thanks!

wbr,
Lukas
-- 
Lukas Ruf           | Wanna know anything about raw |
<http://www.lpr.ch> | IP? -> <http://www.rawip.org> |
eMail Style Guide: <http://www.rawip.org/style.html>|

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Corret deletion of subdirectories of working copies?

Posted by Marc Haisenko <ha...@webport.de>.
On Friday 16 April 2004 08:13, Lukas Ruf wrote:
> Dear all,
>
> what is the right way to delete a subdirectory of a working copy?
>
> svn delete
>
> removes the directory in the repository, right?
>
> rm -rf
>
> removes it locally.  But then,
>
> svn commit
>
> reports problems.

You don't have to do the "rm -rf"... just do a "svn commit" after "svn rm". 
The "svn commit" will then remove the directories. AFAIK that's so you can 
undo the "svn rm" via "svn revert".

> Is there any solution besides manually editing the .svn/entries?
>
> Thanks!
>
> wbr,
> Lukas

C'ya,
	Marc

-- 
Marc Haisenko
Systemspezialist
Webport IT-Services GmbH
mailto: haisenko@webport.de

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: Corret deletion of subdirectories of working copies?

Posted by Erik Huelsmann <e....@gmx.net>.
> Dear all,
> 
> what is the right way to delete a subdirectory of a working copy?
> 
> svn delete

only when specified as:

svn rm <url to directory in repository>

> removes the directory in the repository, right?
> 
> rm -rf
> 
> removes it locally.  But then,

The same way you delete files locally:

svn rm <directory>

 
> svn commit
> 
> reports problems.
> 
> Is there any solution besides manually editing the .svn/entries?

You should *never* have to do that.



HTH,

Erik.


-- 
NEU : GMX Internet.FreeDSL
Ab sofort DSL-Tarif ohne Grundgebühr: http://www.gmx.net/info


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org