You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Jojakim Stahl <jo...@jojakim.de> on 2006/02/17 09:53:15 UTC

Replacing a directory in WC/Repos

Is there a svn replace or svn copy --replace command available? Didn't find
something like this yet.

-- Joja


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

RE: Replacing a directory in WC/Repos

Posted by Duncan Booth <du...@suttoncourtenay.org.uk>.
Jojakim Stahl wrote:

> Perhaps this should get a line on the wishlist? Because you cannot svn rm
> and svn cp/mv in one transaction directly in the repository, am I right?

No, you can remove and copy in one transaction, there just isn't support 
for doing it from the command line. There are scripts which will let you do 
this, e.g. http://www.subversionary.org/projects/rsvn


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

RE: Replacing a directory in WC/Repos

Posted by Jojakim Stahl <jo...@jojakim.de>.
Perhaps this should get a line on the wishlist? Because you cannot svn rm
and svn cp/mv in one transaction directly in the repository, am I right?

> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-2006Q1@ryandesign.com]
> Sent: Friday, February 17, 2006 11:14 AM
> To: Jojakim Stahl
> Cc: users@subversion.tigris.org
> Subject: Re: Replacing a directory in WC/Repos
> 
> 
> On Feb 17, 2006, at 10:53, Jojakim Stahl wrote:
> 
> > Is there a svn replace or svn copy --replace command available?
> > Didn't find
> > something like this yet.
> 
> No. You'll need to first svn rm whatever it is you're wanting to
> replace, then svn mv or svn cp in the replacement.
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org


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

Re: Replacing a directory in WC/Repos

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Feb 17, 2006, at 10:53, Jojakim Stahl wrote:

> Is there a svn replace or svn copy --replace command available?  
> Didn't find
> something like this yet.

No. You'll need to first svn rm whatever it is you're wanting to  
replace, then svn mv or svn cp in the replacement.



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