.

Discussion about everything. New games, 3d math, development tips...
Post Reply
Spintz
Posts: 1688
Joined: Thu Nov 04, 2004 3:25 pm

.

Post by Spintz »

Last edited by Spintz on Mon Dec 10, 2007 1:48 pm, edited 1 time in total.
Saturn
Posts: 418
Joined: Mon Sep 25, 2006 5:58 pm

Post by Saturn »

You can decide whether to allow a lock or unlock with a hook. A hook is more or less a callback which allows to react on repository events and sometimes in order to prevent them.

Hooks are stored in your $(svnrepos)/hooks. there should already be templates you can use as cue for how to implement it. best you read the comments in pre-lock.tmpl and pre-unlock.tmpl. They explain how it works and what to do. This system is a bit complex but powerful.
Spintz
Posts: 1688
Joined: Thu Nov 04, 2004 3:25 pm

Post by Spintz »

Post Reply