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

Re: Method for updating the ID on every commit

From: Andy Levy <andy.levy_at_gmail.com>
Date: Mon, 22 Sep 2008 08:40:48 -0400

On Mon, Sep 22, 2008 at 03:53, G. T. Stresen-Reuter
<tedmasterweb_at_gmail.com> wrote:
> I'm wondering if someone can recommend a method for updating the ID keyword
> in a file on every commit.

Keywords are expanded by the client, so there is really no method for
doing this on the commit

> What I'm looking for is something akin to the "About" dialog in many
> compiled programs, where they state exactly what version the code is.
>
> Since this is exclusively for web applications, I was thinking I could just
> insert the ID keyword into about.html and it would be updated on every
> commit. Of course, I quickly discovered that that wouldn't work, but the
> alternative: touching about.html prior to every commit, seems unworkable.
>
> Is there a better way?

See the FAQ: http://subversion.tigris.org/faq.html#version-value-in-source

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-22 14:41:10 CEST

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.