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

Re: Force copy?

From: Joerg Hessdoerfer <Joerg.Hessdoerfer_at_sea-gmbh.com>
Date: 2006-05-22 18:30:39 CEST


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.


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
Received on Mon May 22 18:32:15 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.