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

Re: Append Copyright Text

From: Greg Thomas <thomasgd_at_omc.bt.co.uk>
Date: 2006-03-20 17:50:45 CET

On Mon, 20 Mar 2006 16:23:08 -0000, "Anthony Williams"
<anthony@warwickcontrol.com> wrote:

>Does anyone use a system like this and how have you implemented it? I've
>tried searching the mailing list archives but didn't manage to turn up any
>answers.

I think the easiest solution is to have a pre-commit hook that rejects
commits without the required text.

However, if you really must automatically edit the code in the
repository, you'll need either a post-commit hook (to update
just-committed files) or a nightly cron job (which would update the
whole repository).

Greg

-- 
This post represents the views of the author and does
not necessarily accurately represent the views of BT.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Mar 20 19:31:42 2006

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.