You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by bgbg bg <bg...@gmail.com> on 2006/05/18 10:06:01 UTC

Adding information about the latest revision of any file in a repository

Hello,

I need to add information about the latest revision number of ANY file
in a repository. I can use svn:keyword $Rev$, but this will give me
the revision number of a particular file, while what I want is to get
the latest revision number .

For example, consider a C project with the following files:
globals.h
functions.h
functions.c
main.c

I want the final program to print it's revision number. Adding the
$Rev$ keyword to only one file won't suffice, while adding it to all
the files and finding the file with the biggest Rev number looks to me
a little bit unefficient.

I'll apreciate any idea.
Thank you
Boris

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Adding information about the latest revision of any file in a repository

Posted by bgbg bg <bg...@gmail.com>.
oops, sorry. I've honestly read the faq, but must have overseen this question.

On 5/18/06, Ryan Schmidt <su...@ryandesign.com> wrote:
> On May 18, 2006, at 12:06, bgbg bg wrote:
> This is a FAQ. Please see:
> http://subversion.tigris.org/faq.html#version-value-in-source
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org


Re: Adding information about the latest revision of any file in a repository

Posted by Ryan Schmidt <su...@ryandesign.com>.
On May 18, 2006, at 12:06, bgbg bg wrote:

> I need to add information about the latest revision number of ANY file
> in a repository. I can use svn:keyword $Rev$, but this will give me
> the revision number of a particular file, while what I want is to get
> the latest revision number .
>
> For example, consider a C project with the following files:
> globals.h
> functions.h
> functions.c
> main.c
>
> I want the final program to print it's revision number. Adding the
> $Rev$ keyword to only one file won't suffice, while adding it to all
> the files and finding the file with the biggest Rev number looks to me
> a little bit unefficient.

This is a FAQ. Please see:

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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org