Commit b1e1e8df authored by Vitaly Lipatov's avatar Vitaly Lipatov

run gear-remotes-restore if .gear/upstream/remotes is exists

parent e926cda2
...@@ -507,6 +507,9 @@ do ...@@ -507,6 +507,9 @@ do
docmd git svn rebase docmd git svn rebase
DOWNLOADSOME=1 DOWNLOADSOME=1
elif [ -n "${GETSOURCEGIT}" ] ; then elif [ -n "${GETSOURCEGIT}" ] ; then
if [ -s $(get_root_git_dir)/.gear/upstream/remotes ] ; then
docmd gear-remotes-restore
fi
echog "Try to fetch ${GETSOURCEGIT} for $spec" echog "Try to fetch ${GETSOURCEGIT} for $spec"
#TODO check upstream #TODO check upstream
#TODO error if incompatible #TODO error if incompatible
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment