Mercurial の変換拡張機能を使用して、現在「メイン」リポジトリにあるフォルダーからリポジトリを作成しようとしています。ファイルマップを使用して、この新しいリポジトリを新しい場所に移動 (名前を変更) していますが、すべてのファイルをコピーし続けています。ファイルマップで除外できることは知っていますが、機能していないようです。
私がやっていることのサンプル:
#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"
誰かがこの問題について洞察を提供してもらえますか?
ありがとう、