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

Re: SVN Keyword

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-11-16 17:00:09 CET

On 11/16/06, David Moriconi <dmoriconi@aetheranetworks.com> wrote:
> Yes I meant the repository revision number and it's exactly for this
> reason (revision number built into the executable).
>
> But I can not imagine that svn does not contain any keyword or variable
> that will update files during check out instead of during commit.

It does: to insert the last modified revision number for the file itself.

> Anyway, I will try to do it with a batch file that will read the
> revision number during the build process to update my macro that contain
> the build number.

There is no other way to keep that number up to date: you would need
to scan the complete working copy for files to update after each
commit. There are working copies for which an integral 'svn status'
takes minutes. You don't want that every time you commit...

bye,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Nov 16 17:01:25 2006

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.