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

RE: Re: Force copy?

From: Daniell, Casey B <Casey_Daniell_at_reyrey.com>
Date: 2006-05-22 19:24:53 CEST

That is what I was thinking I would have to do....I just thought that there had to be a force options available for making a copy.

Thanks,
Casey

-----Original Message-----
From: Joerg Hessdoerfer
Sent: Monday, May 22, 2006 11:31 AM
To: users@subversion.tigris.org
Subject: Re: Force copy?

Hi,

On Monday 22 May 2006 17:53, Daniell, Casey B wrote:
> Ok, I am scripting out a process that will tag (copy in SVN terms) a
> repository as part of a build. Occasionally, the build will fail for
> one reason or another and the copy needs to be done again (overwriting
> the existing items.)
>
> Is there a way to do this? I don't see a switch that will allow me to
> tell copy to do this no matter what? Ideas?
>
[...]
Well, um, yes. First 'svn rm' and then 'svn cp'. If you do this within a WC, you should be able to do it in one transaction. Else, it will take two transactions and the tag will be temporarily vanished...

It's ugly, but it works.

Greetings,
        Jörg

--
Leiter Softwareentwicklung - S.E.A GmbH
Mail: joerg.hessdoerfer@sea-gmbh.com
WWW:  http://www.sea-gmbh.com
---------------------------------------------------------------------
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 May 22 19:26:17 2006

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.