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

Re: Easy way to embed head version number?.

From: Ryan Schmidt <subversion-2005_at_ryandesign.com>
Date: 2005-08-26 02:29:04 CEST

On 25.08.2005, at 22:16, Joe Wade wrote:

> I want to embed the head repository version number in the code of a
> project so that when the code is compilied the head version number
> is embedded in the binary (executable/library/etc). I want to do
> this, so when a customer calls me up, I can have them give me the
> binary version info and know exactly what code was used to create
> the binary.
> Ideally, I would be able to embed a string such as:
> 1.001.1234
> where the first two number indicate major and minor revision, and
> the last indicates the revision of the repository when the binary
> was created.

This should help you:


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 26 02:32:13 2005

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.