[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: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2004-01-26 02:32:01 CET

On Jan 25, 2004, at 7:32 PM, <sussman@collab.net> wrote:

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

Well, that would happen if you did it in a working copy (and if it
wasn't busted). People seem to want to do it on a repos directly (say
to copy a new tag over an existing name).

I threw together a simple little perl script to do it via the perl
bindings, and it isn't that hard. If people really want to be able to
do this I could clean it up and check it in as an example or something.

-garrett

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Jan 26 02:32:50 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.