You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Christopher Key <cj...@cam.ac.uk> on 2006/08/28 14:13:01 UTC
Repository revision keyword
Hello,
I know its possible to add $Revision$ to a file and have SVN substitute the
last revision for that file. Is there any way to go further than this, and
to have SVN substitute a string representing the status of the entire local
repository. Ideally, something like the output produced by doing an
svnversion on the immediately containing folder.
Chris Key
Re: Repository revision keyword
Posted by Erik Huelsmann <eh...@gmail.com>.
On 8/28/06, Christopher Key <cj...@cam.ac.uk> wrote:
>
> I know its possible to add $Revision$ to a file and have SVN substitute the
> last revision for that file. Is there any way to go further than this, and
> to have SVN substitute a string representing the status of the entire local
> repository. Ideally, something like the output produced by doing an
> svnversion on the immediately containing folder.
As the FAQ item says: use svnversion...
Or shorter: "no"
bye,
Erik.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Repository revision keyword
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Aug 28, 2006, at 16:13, Christopher Key wrote:
> I know its possible to add $Revision$ to a file and have SVN
> substitute the
> last revision for that file. Is there any way to go further than
> this, and
> to have SVN substitute a string representing the status of the
> entire local
> repository. Ideally, something like the output produced by doing an
> svnversion on the immediately containing folder.
No, but maybe this will help you:
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