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