2009-06-10 14 views
0

Mercurialで変換拡張を使用して、現在 "メイン"リポジトリにあるフォルダからリポジトリを作成しようとしています。私はこの新しいリポジトリを新しい場所に移動(名前を変更)するためにファイルマップを使用していますが、すべてのファイルをコピーし続けます。私はファイルマップで除外することができますが、うまくいかないようです。私がやっている何の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" 

誰かがこの問題に関するいくつかの洞察を提供していただけますか?

ありがとう、

答えて

0

ありがとうございました。 除外は必要ありません。インクルードは、言及されたファイル/フォルダのみを持ちます。

関連する問題