|
@@ -28,7 +28,10 @@ run_child(
|
|
|
WORKING_DIRECTORY ${TOP}/repo.hg
|
|
WORKING_DIRECTORY ${TOP}/repo.hg
|
|
|
COMMAND ${HG} init
|
|
COMMAND ${HG} init
|
|
|
)
|
|
)
|
|
|
-set(REPO file:///${TOP}/repo.hg)
|
|
|
|
|
|
|
+if(NOT "${TOP}" MATCHES "^/")
|
|
|
|
|
+ set(slash /)
|
|
|
|
|
+endif()
|
|
|
|
|
+set(REPO file://${slash}${TOP}/repo.hg)
|
|
|
|
|
|
|
|
#-----------------------------------------------------------------------------
|
|
#-----------------------------------------------------------------------------
|
|
|
# Import initial content into the repository.
|
|
# Import initial content into the repository.
|