Merge topic 'ExternalProject-hg-clone-without-update'

6a77a77a ExternalProject: Tell "hg clone" not to implicitly update
This commit is contained in:
Brad King 2015-08-12 09:30:31 -04:00 committed by CMake Topic Stage
commit 1cb7237b51

View File

@ -609,7 +609,7 @@ if(error_code)
endif()
execute_process(
COMMAND \"${hg_EXECUTABLE}\" clone \"${hg_repository}\" \"${src_name}\"
COMMAND \"${hg_EXECUTABLE}\" clone -U \"${hg_repository}\" \"${src_name}\"
WORKING_DIRECTORY \"${work_dir}\"
RESULT_VARIABLE error_code
)