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

Re: Pre-commit transaction modification question

From: Szekeres Istvan <szekeres_at_pulsussoft.hu>
Date: 2004-02-13 08:31:11 CET

This can also done automatically without any hooks. Just write a shell
script that checks out the repository (or updates a working copy), checks the
headers and updates them if necessary, then commits the changes.

Of course this is not so real-time as the header updates done at commit
time, but I think it is still acceptable.

Istvan

> As an example of the kinds of CVS hooks I've seen in the past at places
> I've worked, and
> an example of where such modification might be considered desirable by
> SOME users: the
> last place I worked was very concerned about proper legal notices
> (headings) being in files.
> The legal department saw fit to change what they wanted in those headers
> on what seemed
> like a release-by-release basis. A CVS hook (in perl) was written that
> inserted the legal
> notice at the head of every file; if the notice that was there didn't
> match the new one, it was
> replaced. This was done at checkin, transparently to the developer.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 13 08:30:42 2004

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.