From 963eeba48886b0abb31c02e553d58452a6fd5a5f Mon Sep 17 00:00:00 2001 From: Siying Dong Date: Thu, 20 Apr 2017 10:34:01 -0700 Subject: [PATCH] Revert how check_format_compatible.sh checkout release branches. Summary: In a previous commit, I changed the way to checkout release branches from "git checkout " to "git checkout origin/". However, this doesn't seem to work in our CI environment. Revert it. Closes https://github.com/facebook/rocksdb/pull/2189 Differential Revision: D4922294 Pulled By: siying fbshipit-source-id: 482c17f9b05e6ccb190876b050682fe5a458103d --- tools/check_format_compatible.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/check_format_compatible.sh b/tools/check_format_compatible.sh index 622557688..5dc0a65d6 100755 --- a/tools/check_format_compatible.sh +++ b/tools/check_format_compatible.sh @@ -76,7 +76,7 @@ https_proxy="fwdproxy:8080" git fetch github_origin for checkout_obj in "${checkout_objs[@]}" do echo == Generating DB from "$checkout_obj" ... - git checkout origin/$checkout_obj + git checkout $checkout_obj make clean make ldb -j32 generate_db $input_data_path $test_dir/$checkout_obj @@ -101,7 +101,7 @@ done for checkout_obj in "${forward_compatible_checkout_objs[@]}" do echo == Build "$checkout_obj" and try to open DB generated using $checkout_flag... - git checkout origin/$checkout_obj + git checkout $checkout_obj make clean make ldb -j32 compare_db $test_dir/$checkout_obj $compare_base_db_dir forward_${checkout_obj}_dump.txt 0