[v9_9] branchsync: don't update EXCLUDED

(cherry picked from commit aa2c42d959)
This commit is contained in:
Evan Hunt
2013-04-30 10:05:06 -07:00
parent 9fb5329995
commit 3e543e5102
+4
View File
@@ -104,6 +104,10 @@ git log $SOURCEBRANCH --reverse --format='%H' $LASTHASH..$SOURCEBRANCH | \
# cherry-pick was clean
# restore the copyrights and api files
git checkout HEAD -- util/copyrights lib/*/api
# don't update the EXCLUDED file
if [ -n `git ls-files EXCLUDED` ]; then
git checkout HEAD -- EXCLUDED
fi
# note which hash we've merged
savehash branchsync.dat $SOURCEBRANCH $hash