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

Re: nightly builds

From: Oto BREZINA <otik_at_printflow.eu>
Date: Sat, 11 Sep 2010 10:38:43 +0200

-original message-
Subject: Re: nightly builds
From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2010-09-11 09:19

On 11.09.2010 09:05, Oto BREZINA wrote:
> I have about 10 active WC and about 20 which are not used (does not
> have changes). TSVN is one of them with translation work. Would work
> something like:
> 1. create temp folder and make fresh check out
> mkdir
> 2. export actual WC to it, or use xcopy
> 3. delete old WC folder
> 4. rename temp folder to WC name
>
> If this can be done with one version (or needs old version too to
> export, and getting some info) it can be done with simple batch.
> What do you think?

Exporting the changes won't work, since when you check out with the new
version, that new version errors out on old wcs.
But try this:
* create a patch for all wcs where you have local modifications
This may be bit problem for WC with lot of externals
* rename those wcs to *_old
* install the nightly build
* check out all wcs again
* apply the patches to the new wcs

Stefan

I would keep svn.exe(pre-one-DB-version from full nightbuild)(named svn-1.7a.exe) for upgrade purpose. So I would be able to export even after upgrade. Anyway xcopy seems be better way as is preserve binary and even no revisioned files.
Way to upgrage would then be something like:

Rem eventualy can be taken from for
Set WC=wcdir
Rem can be taken from svn-17a info %WC%
Set URL=http://...

Echo /.svn/ > export_filter

Rem make sure wc is actual
Svn-17a update %WC%
Rem change name of old wc
Ren %WC% %WC%_17a
Rem get actaul wc from repository
Rem if repository is too active can be set for revision, but would work for externals
Svn checkout %WC% %URL%
Rem copy all non svn
Xcopy %WC%_17a %WC% /s /f /y /exclude:export_filter

Not tested.

Ot(ik) Oto BREZINA
Printflow

----
Using cell phone for emails.
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2657772
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-11 10:43:14 CEST

This is an archived mail posted to the TortoiseSVN Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.