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

Re: script to put svn revision number in c source file

From: jalal <the_jalal_at_fastmail.fm>
Date: 2004-03-29 11:11:49 CEST

On Mon 29 March 2004 05:34, Sean Moss-Pultz wrote:
> I want to have the revision number automatically written to a source
> file after a successful commit. This will then be used in a c program.
> I've searched the archives and something like this:
>
> svn status -Nqu
>
> was suggested before. This will work for what I need but I'm not sure
> where (and when) is the best place to execute the code. I'm running
> 1.01 on Windows 2k Server. Has anyone done this before?
>
> Any guidance would be greatly appreciated.
>
> Thanks!
>
> -Sean

Won't svn:keywords work for you???

-- 
GPG fingerprint = 3D45 5509 D380 26A4 523E  A9D8 A66A 5F38 CA43 BB0E
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 29 11:13:12 2004

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