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

Help with checkin hook

From: James Green <James.Green_at_occam-dm.com>
Date: Tue, 12 Aug 2008 18:14:16 +0100

Hi All,
 
I'm just looking at SubVersion for the first time as we wish to migrate
from Visual SourceSafe to SVN. I have my server all setup, tested and
working. So far everything has been great.
 
The only problem I'm having is trying to find information on some
functionality we get in VSS that we'd like to carry over to SVN. I have
looked through Google and the online book with no luck so far (maybe I
missed something however!).
 
Currently at the top of our C# source files we can place a template
like:
 
#region Version Control
/*
*********************************************************************
$Header: $
*********************************************************************
$History: $
*********************************************************************
Last Revision $Modtime: $$Revision: $
*********************************************************************
*/
#endregion
 
And then upon a checkin of a file it will populate the variables with
the relevant information into the source file. Does anyone have any
info on such a hook cmd/exe file that we could use in the hooks
directory of our repositories?
 
Also is there any way of configuring how SVN creates new repositories so
that it will auto copy any custom hooks into any new repositories?
 
Thanks,
 
James Green
Solutions Developer
Occam Direct Marketing Ltd
Tel: 01761233833
Direct: 01761234716
 
Received on 2008-08-12 19:14:33 CEST

This is an archived mail posted to the Subversion Users mailing list.