Skip to content
  • Brad King's avatar
    CTest.UpdateHG: Fix repo URL for leading slash · d0702f82
    Brad King authored
    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.
    d0702f82