Ale*_*lex 13
# this filemap is used to exclude specific files exclude "subdir/filename1.ext" exclude "subdir/filename2.ext" exclude "subdir2"
hg convert --filemap map.txt c:/oldrepo c:/newrepo注意:您必须在路径中使用"正斜杠",即使在窗口上也是如此.
c:\newrepo但没有文件PS.在"上层"仓库中,您必须删除所有变更集并重新推送新的仓库.
PPS.我实际上写了一篇关于此的博文,其中有更多细节(包括在Bitbucket中剥离更改等).
| 归档时间: |
|
| 查看次数: |
5067 次 |
| 最近记录: |