summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2015-08-12 13:30:31 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2015-08-12 13:30:31 (GMT)
commit1cb7237b51ad56934e4348fdebe85750c2927a99 (patch)
treeb040b6a06250aec059ef896c42d4655257b6d813 /Modules
parent6731eab90cbd692d0e5d98df6db6da0ffd69a881 (diff)
parent6a77a77a62f6bfb66cea622621d6d1b68e775664 (diff)
downloadCMake-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.cmake2
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
)