[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: Andrew Gabriel <Andrew.Gabriel_at_clearswift.com>
Date: 2006-05-24 05:28:44 CEST

Daniell, Casey B [mailto:Casey_Daniell@reyrey.com] 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?

Another option is to make a note of the repository revision you checked
out (and branch if relevant in your environment). That alone forms a
unique identification of the source used to perform the build. When you
reach the stage in your process where the build is deemed to have
worked, you can then make a tag/copy of that revision of the source,
even if HEAD has since moved on.

Whilst we used to create tags for each build under former source
control systems (CVS, Source Safe), we've never bothered to do it under
Subversion. We record the repository revision used in a way which is
carried through into the built software, and that fulfils the purpose of
a tag. So you might just want to ask yourself why you are creating tags
at all, and if it's just a hangover from a deficiency in a former source
control system.

Andrew Gabriel
Clearswift monitors, controls and protects all its messaging traffic in compliance with its corporate email policy using Clearswift products.
Find out more about Clearswift, its solutions and services at http://www.clearswift.com
This communication is confidential and may contain privileged information intended solely for the named addressee(s). It may not be used or disclosed except for the purpose for which it has been sent. If you are not the intended recipient, you must not copy, distribute or take any action in reliance on it. Unless expressly stated, opinions in this message are those of the individual sender and not of Clearswift. If you have received this communication in error, please notify Clearswift by emailing support@clearswift.com quoting the sender and delete the message and any attached documents. Clearswift accepts no liability or responsibility for any onward transmission or use of emails and attachments having left the Clearswift domain.
This footnote confirms that this email message has been swept by MIMEsweeper for Content Security threats, including computer viruses.
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 24 05:30:01 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.