浏览代码

CTest.UpdateHG: Fix repo URL for local filesystem (#13001)

Use "file:///c:/" instead of "file://c:/" because the latter
looks like a machine:port URL instead of a local file URL.
Brad King 13 年之前
父节点
当前提交
0916cc888a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Tests/CTestUpdateHG.cmake.in

+ 1 - 1
Tests/CTestUpdateHG.cmake.in

@@ -28,7 +28,7 @@ run_child(
   WORKING_DIRECTORY ${TOP}/repo.hg
   COMMAND ${HG} init
   )
-set(REPO file://${TOP}/repo.hg)
+set(REPO file:///${TOP}/repo.hg)
 
 #-----------------------------------------------------------------------------
 # Import initial content into the repository.