diff options
author | Brad King <brad.king@kitware.com> | 2012-03-22 15:56:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-03-22 15:57:38 (GMT) |
commit | d0702f8214f261d72c66ac7e400d9af984cd9391 (patch) | |
tree | f0f3e23955b99667a016f6f9b2c026bdff632cfc /CMakeLists.txt | |
parent | 0916cc888a086293f4c17e9c927f2267e1fdb755 (diff) | |
download | CMake-d0702f8214f261d72c66ac7e400d9af984cd9391.zip CMake-d0702f8214f261d72c66ac7e400d9af984cd9391.tar.gz CMake-d0702f8214f261d72c66ac7e400d9af984cd9391.tar.bz2 |
CTest.UpdateHG: Fix repo URL for leading slash
Use "file:///..." instead of "file:////..." when the file system path
starts in a slash. Commit 0916cc88 (CTest.UpdateHG: Fix repo URL for
local filesystem, 2012-03-02) added a third slash after "file://"
unconditionally. This worked for many file systems but not on Cygwin
where "file:////cygdrive/..." looks like "file://" followed by a network
file path "//cygdrive/...". Add the slash only if the file system path
does not already start with one.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions