2011-02-27 92 views

回答

6

使用convert extension--filemap標誌(在確認convert擴展您的~/.hgrc啓用後):

$ hg init new-a 
$ cat > a-map 
rename a . 
exclude b 
exclude c 
... 
$ hg convert --filemap a-map old-repo new-a 
$ cd new-a 
$ hg co tip