X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=build%2Freplace1.sh;h=51570f507ad9161a02b85bca3af78e35ec9dd3c1;hp=cb0c6889dabf29e058422c81cae088d93ad61519;hb=0f272a1b88f3673b9697595366d780a5d0084f44;hpb=a5debac55d7b148b99f0660e8865683c088ab6bf diff --git a/build/replace1.sh b/build/replace1.sh index cb0c688..51570f5 100755 --- a/build/replace1.sh +++ b/build/replace1.sh @@ -16,7 +16,7 @@ if [ -f $CONFLICTS ] ; then fi if [ $# -lt 2 -o $# -gt 3 ]; then - echo "This is phase 1 of replacing branches. Usage: $0 parent(old) child(new) [dir]" + echo "This is phase 1 of replacing branches. Run this in the PARENT tree. Usage: $0 parent(will be replaced) child(will become the new parent) [dir]" exit fi @@ -105,7 +105,7 @@ echo "done" # Apply all of the changes to your local tree: echo -n "Updating as -j $parent -j $child ..." -$CVS update -j $parent -j $child $dir +$CVS update -j $parent -j $child -dP $dir echo "done" echo -n "Recording conflicts in $CONFLICTS ..."