[Cmake-commits] CMake branch, next, updated. v2.8.10.2-2875-g459dce5
Brad King
brad.king at kitware.com
Mon May 6 13:30:29 EDT 2013
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".
The branch, next has been updated
via 459dce5159f17d1929607b71a4ecf6db543ea8a5 (commit)
via ecd11a25cc83eeae369011b1ca9e4a8498f10437 (commit)
from e57eadbadc7a3c94fd886a1982ca7283f71d4c24 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=459dce5159f17d1929607b71a4ecf6db543ea8a5
commit 459dce5159f17d1929607b71a4ecf6db543ea8a5
Merge: e57eadb ecd11a2
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon May 6 13:30:24 2013 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon May 6 13:30:24 2013 -0400
Merge topic 'ExternalProject-svn-auth-blank' into next
ecd11a2 ExternalProject: Allow blank SVN_USERNAME/SVN_PASSWORD (#14128)
http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=ecd11a25cc83eeae369011b1ca9e4a8498f10437
commit ecd11a25cc83eeae369011b1ca9e4a8498f10437
Author: Matt McCormick <matt.mccormick at kitware.com>
AuthorDate: Mon May 6 12:30:56 2013 +0000
Commit: Brad King <brad.king at kitware.com>
CommitDate: Mon May 6 13:16:18 2013 -0400
ExternalProject: Allow blank SVN_USERNAME/SVN_PASSWORD (#14128)
With
SVN_USERNAME ""
SVN_PASSWORD ""
in an ExternalProject_Add() call, the blank username and password
will be passed to the svn checkout/update step commands.
diff --git a/Modules/ExternalProject.cmake b/Modules/ExternalProject.cmake
index 40e14d5..6afdb97 100644
--- a/Modules/ExternalProject.cmake
+++ b/Modules/ExternalProject.cmake
@@ -1251,10 +1251,10 @@ function(_ep_add_download_command name)
get_filename_component(work_dir "${source_dir}" PATH)
set(comment "Performing download step (SVN checkout) for '${name}'")
set(svn_user_pw_args "")
- if(svn_username)
+ if(DEFINED svn_username)
set(svn_user_pw_args ${svn_user_pw_args} "--username=${svn_username}")
endif()
- if(svn_password)
+ if(DEFINED svn_password)
set(svn_user_pw_args ${svn_user_pw_args} "--password=${svn_password}")
endif()
if(svn_trust_cert)
@@ -1473,10 +1473,10 @@ function(_ep_add_update_command name)
get_property(svn_password TARGET ${name} PROPERTY _EP_SVN_PASSWORD)
get_property(svn_trust_cert TARGET ${name} PROPERTY _EP_SVN_TRUST_CERT)
set(svn_user_pw_args "")
- if(svn_username)
+ if(DEFINED svn_username)
set(svn_user_pw_args ${svn_user_pw_args} "--username=${svn_username}")
endif()
- if(svn_password)
+ if(DEFINED svn_password)
set(svn_user_pw_args ${svn_user_pw_args} "--password=${svn_password}")
endif()
if(svn_trust_cert)
-----------------------------------------------------------------------
Summary of changes:
Modules/ExternalProject.cmake | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list