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

Re[2]: Hooks and tagging

From: Régis Priqueler <lists_at_aizenko.com>
Date: 2005-01-07 13:45:31 CET

Hello Dale,

Thursday, January 6, 2005, 6:33:57 PM, you wrote:

DW> -----Original Message-----
DW> From: Régis Priqueler [mailto:lists@aizenko.com]

DW> I'm trying to find a way of putting automatically the tag name into a
DW> file.
DW> ---------------------------------------------------------------------

DW> You could probably extract the information you want from "svn info . | grep
DW> '^URL: '". For example, in one of my WC's, it produces:

DW> URL: https://scm.sipfoundry.org/repsipXpbx/branches/2.6

DW> thus telling that this WC is showing branch "2.6" of the code.

DW> Dale

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

Thanks for your answer, i'm trying to do it at commit time. I can use
post or pre-commit hook to launch the svn command but how can I change
the content of a file in the repository (or adding it).

Best regards

-- 
Régis Priqueler
Portfolio: http://R208.com
Aďzenko:   http://aizenko.com
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 7 13:45:14 2005

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.