[dw-free] bootstrap.pl checks out out-of-date code
[commit: http://hg.dwscoalition.org/dw-free/rev/3ce5b91735c7]
http://bugs.dwscoalition.org/show_bug.cgi?id=1831
Make bootstrap update people to the latest production code when it checks
out.
Patch by
sophie.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=1831
Make bootstrap update people to the latest production code when it checks
out.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- bin/bootstrap.pl
-------------------------------------------------------------------------------- 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" --------------------------------------------------------------------------------