Make bootstrap update people to the latest production code when it
checks out.
Patch by sophie.
diffs (12 lines):
diff -r 85ffb9b478db -r 3ce5b91735c7 bin/bootstrap.pl
--- a/bin/bootstrap.pl Mon Oct 26 02:43:16 2009 +0000
+++ b/bin/bootstrap.pl Mon Oct 26 02:47:57 2009 +0000
@@ -22,6 +22,8 @@ unless ( -d "$LJHOME/cvs" ) {
print "Seems we need to start at the beginning, fetching dw-free...\n";
mkdir( "$LJHOME/cvs" );
system( '/usr/bin/hg -q clone http://hg.dwscoalition.org/dw-free
cvs/dw-free' );
+ system( '/usr/bin/hg --cwd cvs/dw-free -q update -C production' );
+ system( '/usr/bin/hg --cwd cvs/dw-free -q update -C' );
system( "/bin/cp $LJHOME/cvs/dw-free/cvs/multicvs.conf $LJHOME/cvs" );
die "Something failed...\n"
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog