2017-06-22 35 views
0

我有下面的佈局很多子一個巨大的資源庫:水銀 - 轉換錯誤 - 不能轉換合併提交

MainRepo 
├── Folder1 
├── Folder2 
├── Folder3 
├── Folder4 
└── Folder5 

我試圖創建從文件夾中Folder1, Folder2 and Folder3另一回購。

要做到這一點,我創建使用在轉換這樣的filemap:

include Folder1 
include Folder2 
include Folder3 
rename . 

但是當我嘗試使用到存儲庫轉換:

hg convert --filemap filemap MainRepo/ NewRepo 

我收到以下錯誤:

... 
<rev> message 
1136 Merge with default 
abort: unable to convert merge commit since target parents do not merge cleanly (file Folder1/Project1.csproj, parents 65b9b85aa32c and 923b315f094c) 

過去有沒有人有這樣的問題?如何擺脫這種錯誤?我試圖關閉與默認合併的分支,但它沒有任何幫助。

另外,在哪裏可以找到關於如何清理回購站的資源?這個回購使用了很多命名的分支,它們非常混亂。

回答

1

我能夠解決這個問題,關閉我所有的不活動的頭,並在最後刪除rename .。對於我想要的,它工作得很好。

相關問題