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

Re: revision in source code

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 5 Jun 2008 08:34:16 -0400

On Thu, Jun 5, 2008 at 8:11 AM, massimiliano
<massimiliano.cialdi_at_powersoft.it> wrote:
> I have a project using svn.
> It has many files and dirs.
>
> suppose the following scenario
>
> base_dir r10
> +-fileA.c r8
> +-subdir r10
> +-fileB.c r9
> +-fileC.c r10
>
> I need to print the revision (r10 in this case)
>
> suppose to change and commit fileA.c, I will have the following scenario:
>
> base_dir r11
> +-fileA.c r11
> +-subdir r10
> +-fileB.c r9
> +-fileC.c r10
>
> now I must print r11 as revision.
> I think that revision of base_dir is wath I need.
>
> how can "read" the base_dir revision and put in a C string automagically (or
> through a script)?

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

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-06-05 14:34:39 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.