[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: <sussman_at_collab.net>
Date: 2004-01-26 01:32:44 CET

>
> 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/

Actually, the two commands *used* to work correctly. 'foo' would be
scheduled for deletion, and 'bar' would be scheduled for (R)eplacement. But
that stopped working. It's issue #845.

One workaround is to make a branch, 'svn rm; svn commit; svn cp; svn
commit' on the branch. Then merge all the branche changes into your
original line of development as a single commit.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 26 01:33:25 2004

This is an archived mail posted to the Subversion Users mailing list.