2016-09-30 306 views
0

我正試圖將一些現有存儲庫添加到我的PlasticSCM服務器中,以便我可以遷移後端。將現有存儲庫添加到PlasticSCM服務器時出錯

我用下面試圖做到這一點:

cm addrep rep_11.plastic r11 localhost:8087 

但是這給了我以下錯誤信息:

The id specified in the repository database rep_11.plastic is not correct. 
It should be a number. 

我似乎無法找到列出此錯誤消息在任何地方在線,並且我在數據庫本身中找不到任何明顯的非數字ID字段。

我已經嘗試了一些他們,他們都給出了相同的信息。我實際上不是100%確定哪個是哪個,所以我使用一個通用的存儲庫名稱(r11),直到我可以看看它們,但我認爲這樣可以。

這是默認設置,所以SQLLite後端。我真的需要將所有這些導入到它,以便他們可以遷移到MySQL。

回答

0

根據該命令的幫助:

用法:

cm addrepository | addrep db_file rep_name repsvr_spec 

db_file    The name of the database file on the database backend. 
rep_name   The name of the repository. 
repsvr_spec   Repository server specification: 
        [repserver:]svr_name:svr_port 

在您的例子,請運行:

cm addrep rep_11 r11 localhost:8087 
相關問題