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

Re: svn cp svn://foo/ svn://bar/, replacing bar/ with foo/

From: Francois Beausoleil <fbos_at_users.sourceforge.net>
Date: 2004-01-26 00:17:04 CET

Have you tried svn move svn://foo svn://bar ?

Alternatively, checkout a working copy, and do the move in the WC, and
when you commit, it will be atomic, with regards to other people,
although it will have been two operations in the WC.

Hope that helps !

François

On Mon, 26 Jan 2004 00:54:13 +0300, "Alexey Mahotkin" <alexm@hsys.msk.ru>
said:
>
> Hello,
>
> I would like to replace one directory with another one.
>
> svn cp svn://foo/ svn://bar/
>
> makes it so that foo turns out at svn://bar/foo/. I can do
>
> svn rm svn://bar/
> svn cp svn://foo/ svn://bar/
>
> but I'd like to do atomically.
>
> Playing with traling slashes does not help.
>
>
> Please keep me in Cc: list, I am not subscribed.
>
>
> Thank you,
>
> --alexm
>
> ---------------------------------------------------------------------
> 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
Received on Mon Jan 26 00:17:52 2004

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.