3
當運行水銀2.0.2在Windows含絕對路徑附加到主倉庫的默認路徑:水銀[子路徑]推
在我的.hgrc:
[subpaths]
MYREPOS/(.*) = https://server/repos/\1
在我.hgsub:
subrepo/lib = MYREPOS/lib
當我做一推,次回購的推動路徑是它的級聯的路徑主要回購,而不是絕對路徑 - 輸出:
pushing to https://server/repos/main
pushing subrepo subrepo\lib to https://server/repos/main/http%3A//server/repos/lib
我本來期望:
pushing to https://server/repos/main
pushing subrepo subrepo\lib to https://server/repos/lib
是不是因爲「絕對或相對性」子回購路徑是由.hgsub右手路徑,而不是把它映射到值確定的?例如,MYREPOS/lib是相對的,因此映射的路徑將被視爲相對的,無論它是否是?