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

Re: Is it possile to include an int into a text file being committed?

From: Larry Shatzer, Jr. <larrys_at_gmail.com>
Date: Thu, 20 Nov 2008 10:47:39 -0700

On Thu, Nov 20, 2008 at 10:33 AM, Janek <janek_at_cemokom.eu> wrote:
> We are using an svn repositary for managing a large dns server.
> Now, anybody who needs commit any changes of a zone file, also needs to
> increment a serial number of zone file,
> so the changes are accepted by dns server.
> Is there any possibility to automate this action? It is similar to
> including $revision$ but there is no place for anything else but the number.

Create a pre-commit hook that checks the old and new file, and if the
serial is not incremented reject it.

-- Larry

To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-11-20 18:48:01 CET

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