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

Re: Subversion Log in a JSP File

From: Ryan Schmidt <subversion-2008c_at_ryandesign.com>
Date: Mon, 4 Aug 2008 10:39:01 -0500

On Aug 4, 2008, at 03:38, Sebastian Utrap wrote:

> I'm looking for an easy way for subversion to create/insert some
> information, like log and last revision, from svn into a JAVA JSP
> file.
>
> How can it be done?
> I'm using TortoiseSVN 1.5.2 on WinXP.
>
> Is it also possible to set the file / repository revision inside
> a .java file as a comment?
> I remember beeing able to do that in cvs...

Yes, you can insert the revision number into source files. See the
keywords section of the book:

http://svnbook.red-bean.com/en/1.4/
svn.advanced.props.special.keywords.html

You cannot insert the log into files in this way. See the FAQ:

http://subversion.tigris.org/faq.html#log-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-08-04 17:39:36 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.