# HG changeset patch # User ymh # Date 1272461047 -7200 # Node ID 2ab0257408d6542715c82885d6c1b75d01fb9fe6 # Parent 640852e46afa18fb621d4ed7066e30892d3ad3b4 Correct sync script. diff -r 640852e46afa -r 2ab0257408d6 build/sbin/sync_mosatags --- a/build/sbin/sync_mosatags Wed Apr 28 14:59:18 2010 +0200 +++ b/build/sbin/sync_mosatags Wed Apr 28 15:24:07 2010 +0200 @@ -80,7 +80,7 @@ hg archive -r $version "$export_path" || { echo "problem when archiving"; exit;} else echo "force update $version in $export_path" - hg update -C -r $version + hg update --clean -r $version fi popd; @@ -109,8 +109,10 @@ if [ -d "$export_path_web" ]; then pushd "$export_path_web"; if [ -d web/sf ]; then - echo "cleaning symfony folder"; - rm -fr web/sf; + echo "cleaning symfony folder before freeze" + rm -fr web/sf + rm -fr lib/symfony + rm -fr data/symfony fi php symfony freeze data/; popd;