You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Clemens A Mensik <cl...@ip2.at> on 2005/07/28 10:16:03 UTC

@abc - Tag...

Hi,

is it possible to create tags in your source code? For Example some kind
of @author - tag, that gets replaced by the server thru the user submiting
this new file.

greets
clemens




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

Re: @abc - Tag...

Posted by Günter Dannoritzer <da...@web.de>.
Hi Miha,

Miha Vitorovic wrote:
...
> dannoritzer@web.de wrote on 28.07.2005 12:28:59:

>>I am not sure about the author, but what I am using is the $Id$ keyword,
>>that gets expanded by the server. It includes revision #, submitter,
>>date, time, not sure whether I got them all.
> 
> 
> On a side note - I think that svn:keywords actually get expanded by the 
> client. Because if you browse the repository with a browser, the keywords 
> appear unexpanded.

I think you are right, thanks for clarifying that.

Guenter



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

Re: @abc - Tag...

Posted by Miha Vitorovic <mv...@nil.si>.
dannoritzer@web.de wrote on 28.07.2005 12:28:59:

> What you are looking for is the svn:keywords property.
> 
> I am not sure about the author, but what I am using is the $Id$ keyword,
> that gets expanded by the server. It includes revision #, submitter,
> date, time, not sure whether I got them all.

On a side note - I think that svn:keywords actually get expanded by the 
client. Because if you browse the repository with a browser, the keywords 
appear unexpanded.

Cheers,
---
  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer

   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si

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


Re: @abc - Tag...

Posted by Günter Dannoritzer <da...@web.de>.
Hi,
Clemens A Mensik wrote:

> Hi,
> 
> is it possible to create tags in your source code? For Example some kind
> of @author - tag, that gets replaced by the server thru the user submiting
> this new file.
> 
> greets
> clemens

What you are looking for is the svn:keywords property.

I am not sure about the author, but what I am using is the $Id$ keyword,
that gets expanded by the server. It includes revision #, submitter,
date, time, not sure whether I got them all.

Have a look in the book:

http://svnbook.red-bean.com/en/1.1/svn-book.html#svn-ch-7-sect-2.3.4


Regards,

Guenter



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