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

Re: automating versioning with tortoise svn

From: Jean-Marc van Leerdam <j.m.van.leerdam_at_gmail.com>
Date: Thu, 19 Aug 2010 15:43:01 +0200

Hi,

On 19 August 2010 14:14, Vlad <vlad.sergeev_at_gmail.com> wrote:
> Hi all,
>
> I have the following problem.  The company that i work for uses
> TortoiseSVN with in-house VBA tools.  Tools are stored in repository
> and read the version number from a text file that is stored along with
> xls file.   Every time we tag a release, we use this version number as
> the tag name.  Every time the version is increased and new tag
> created, we need to change version number in two places - text file
> and name of the tag.  The idea is to do it once.
>

You may be able to use svn-keyword HeadURL on the file to store the
full path in a variable and then parse that string to find the part
after '.../tags/' which gives you the version number.

The keyword expansion is done in the working copy, so you would need a
checkout of the specific tag for this to work.

-- 
Regards,
Jean-Marc
--
.       ___
.  @@  // \\      "De Chelonian Mobile"
. (_,\/ \_/ \     TortoiseSVN
.   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
.   /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2648769
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-08-19 15:43:10 CEST

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

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