diff options
author | Brad King <brad.king@kitware.com> | 2015-08-12 13:30:31 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-08-12 13:30:31 (GMT) |
commit | 1cb7237b51ad56934e4348fdebe85750c2927a99 (patch) | |
tree | b040b6a06250aec059ef896c42d4655257b6d813 /Modules | |
parent | 6731eab90cbd692d0e5d98df6db6da0ffd69a881 (diff) | |
parent | 6a77a77a62f6bfb66cea622621d6d1b68e775664 (diff) | |
download | CMake-1cb7237b51ad56934e4348fdebe85750c2927a99.zip CMake-1cb7237b51ad56934e4348fdebe85750c2927a99.tar.gz CMake-1cb7237b51ad56934e4348fdebe85750c2927a99.tar.bz2 |
Merge topic 'ExternalProject-hg-clone-without-update'
6a77a77a ExternalProject: Tell "hg clone" not to implicitly update
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/ExternalProject.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake index fdb146a..0fbf7c3 100644 --- a/Modules/ExternalProject.cmake +++ b/Modules/ExternalProject.cmake @@ -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 ) |