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

Re: Automatically updating revision number

From: Kenneth Goldman <kgoldman_at_us.ibm.com>
Date: Tue, 25 Aug 2009 13:20:28 -0400

The link below is my solution/hack. It also describes the problems I have
with the FAQ.

If developers are listening, I know that a clean solution is hard, but it
sure would be
better than these non-portable hacks. And it really is a common
requirements.

IMHO, the variable should be updated at commit time.

http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=987467

--
Ken Goldman   kgold_at_watson.ibm.com
914-784-7646 (863-7646)
                                                                       
             Benoît Thiébault                                      
             <thiebault_at_artenu                                         
             m.com>                                                     To
                                       users_at_subversion.tigris.org     
             08/25/2009 12:14                                           cc
             PM                                                        
                                                                   Subject
                                       Automaticaly updating revision  
                                       number                          
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
                                                                       
Dear List,
I am developping an application and I would like to display the SVN
revision number in an "About" dialog.
I have created a property file containing the $Revision$ keyword and
added the property so that SVN automatically expends the tag with the
revision number.
However, SVN only updates the revision  number when I commit the
property file... Which doesn't change...
Is there a way to force svn to always commit this file in order to
keep the revision up to date ?
Or is there a better way to achieve my goal ?
Regards,
Benoît
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2387216
To unsubscribe from this discussion, e-mail:
[users-unsubscribe_at_subversion.tigris.org].
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2387236
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].



graycol.gif pic32424.gif ecblank.gif
Received on 2009-08-27 00:07:11 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.