For those who may be interested here is batch file I used to upgrade
some of my WCs from 1.7 to 1.7OneDB.
Contains batch (.cmd) file and two executable svn-17a.exe(before one DB
version) and svn-17b.exe(one-DB version)
Still recommend fresh checkout, but this may work at least as
temporary solution. This script is independent from TSVN.
PS: may be used with next major WC upgrade :)
Oto
On 2010-09-11 10:38, Oto BREZINA wrote:
> -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.
>
>
>
> ________ Information from NOD32 ________
> This message was checked by NOD32 Antivirus System for Linux Mail Servers.
> part000.txt - is OK
> http://www.eset.com
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2658858
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-13 22:46:28 CEST