On Wed, Aug 1, 2012 at 10:07 AM, Honeylyn O. Fukuoka <honey...@menue.com> wrote: > When you created a pre-revprop-change, did you save it in .bak file and put
It should be .bat on windows and should be placed in hooks directory > it in the hooks directory of the dest repository? Am I getting you right? > My goal is to sync our repository to another server outside our country. > Will this work? It should work , I don't see a reason why it won't work but you need to get your setup right. > > > Thanks, > > > Honey > > On Wed, Aug 1, 2012 at 12:29 PM, David Chapman <dcchap...@acm.org> wrote: >> >> On 7/31/2012 9:13 PM, Honeylyn O. Fukuoka wrote: >>> >>> Hi, >>> Thanks for the past response. >>> Can you tell me what changes do I have to make in the prerevprop-change >>> hook? >>> I tried some but nothing happened. >>> >> >> I created a pre-revprop-change script with the single line "exit 0" in it >> and put it into the hooks directory of the destination repository (not the >> original repository). Worked fine on Windows. Most of the issues that arise >> from allowing revision property changes are security-oriented; if you want >> to prevent some (or most) users from changing revision properties then your >> script must guard against it. But if you are just creating a repository >> backup that no one else will use unless the original crashes irretrievably, >> you don't need anything more. >> >> -- >> David Chapman dcchap...@acm.org >> Chapman Consulting -- San Jose, CA >> Software Development Done Right. >> www.chapman-consulting-sj.com >> > > > > -- > HONEYLYN O. FUKUOKA > System Administrator > Menue Philippines, Inc. > > -- Vishwajeet Singh +91-9657702154 | dextrou...@gmail.com | http://bootstraptoday.com Twitter: http://twitter.com/vishwajeets | LinkedIn: http://www.linkedin.com/in/singhvishwajeet