mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-26 16:30:56 +00:00
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 <branch_name>" to "git checkout origin/<branch_name>". 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
This commit is contained in:
parent
97005dbd5d
commit
963eeba488
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue