0
我正嘗試使用Mercurial中的convert擴展來從當前位於我們的「Main」存儲庫中的文件夾創建一個存儲庫。我正在使用filemap將這個新的存儲庫移動(重命名)到一個新的位置,但是它不斷複製所有文件。我知道在文件映射中我們可以有一個排除,但它似乎沒有工作。似乎無法得到使用Mercurial的文件映射工作的convert擴展中的排除
樣的我在做什麼:
#Exclude everything but sa-inetpub website and the sa-inetpub.Tests
exclude .
#Include folder Source/Code/Websites/sa-inetpub and the Source/UnitTests/sa-inetpub.Tests
include "Source/Code/Websites/sa-inetpub"
include "Source/UnitTests/sa-inetpub.Tests"
include "Source/Code/MVC"
include "Source/Code/MVCUnitTests"
include "Source/Code/Websites/Includes/HierarchyParser"
#Rename the old sa-inetpub in the old directory to the new sa-inetpub directory. This is essentially a move.
rename Source/Code/Websites/sa-inetpub src/app/sa-inetpub
rename Source/UnitTests/sa-inetpub.Tests src/test/sa-inetpub.Tests
rename Source/Code/MVC src/app/MVC
rename Source/Code/MVCUnitTests src/test/MVCUnitTests
rename Source/Code/Websites/Includes/HierarchyParser src/app/hierarchyparser
據有關ConvertExtension文檔這應該工作:
exclude "doc"
include "doc/foo bar.txt"
rename "doc/FAQ" "faq"
可有人請就這一問題提供一些見解?
謝謝,