1
edit
Changes
m
no edit summary
Please edit in an answer if you know
====What to indexPulling CVS====Q: I was wondering if it is prefered to index This code will pull the source CVS for the current development or stable branchbranches specified in @branches<pre>#!/usr/bin/perluse strict;use warnings; # Pull CVS from the mozilla project servermy $src_root = "/var/mozilla"; # Where is your make executable (Mozilla needs 3. More specifically80, nothing else)my $make = "/home/jhford/oldmake/make"; # Where is your run.sh for opengrok???my $opengroker = "/var/opengrok/run.sh"; # Branches to be pulledmy @branches = ( "HEAD", "REFLOW_20061031_BRANCH", "MOZILLA_1_8_0_BRANCH", "MOZILLA_1_8_BRANCH", "MOZILLA_1_7_BRANCH", I am unsure how each solution handles file versions "AVIARY_1_0_1_20050124_BRANCH"); system ("rm -rf ${src_root}/*"); foreach (@branches){ system(" mkdir ${src_root}/$_; cd ${src_root}/$_; cvs -d :pserver:anonymous:anonymous\x40cvs-mirror.mozilla.org:/cvsroot co -r $_ mozilla/client.mk; make -f ${src_root}/${_}/mozilla/client. mk checkout MOZ_CO_PROJECT=all; ");} system ("bash $opengroker"); <br/pre>A: Please Edit Me