>>>> Peter Childs wrote:
>>>> How do I get last revision number for my repository. The keywords
>>>> only seam to handle when that file was last changed. What I would like
to
>>>> do is see the revision number on the repository and then use it in my
>>>> code to see who which version a user is using.
>>>> So I can then commit, compile, and have my source code
>>>> auto-versioned...
>> On Fri, 5 Sep 2003 e.huelsmann@gmx.net wrote:
>>> you might use the svnversion command to do this:
>>> compile using gcc -DVERSION=`svnversion .`
>>> There currently is no keyword which is substituted with the output from
>>> svnversion.
> On Fri, 5 Sep 2003, Peter Childs wrote:
>> Super a keyword might be useful one day however.... maybe a TODO
>> is in order.
Bill Comisky wrote:
> I didn't see any issues pertaining to the single-revision-working-copy
> revision keyword. I've seen this pop up on the list several times,
> and personally am interested in this feature. Would it be reasonable to
> file an "enhancement" issue for this?
Implementing such a keyword would require significant special case
behaviour: Subversion would have to update files containing this keyword
every time the repo revision changed, even though the file contents in the
repo had not.
It would be wise to discuss on dev@ whether such special-casing would ever
be acceptable, before filing an issue.
Max.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Sep 6 00:55:03 2003