Hg转换失败:“abort:unknown revision <nodeid>!”</nodeid>

时间:2013-09-17 09:59:56

标签: mercurial hg-convert

如何根据场景弄清楚如何调试以下问题?我以前在源和目标回购上运行hg convert,一切正常。我正在再次运行它以从源代码转换新的变更集。

Mercurial 2.7.1

命令

hg convert HgSourceRepo HgTargetRepo --filemap DirNameRemap --verbose --debug

Filemap“DirNameRemap”

include .
rename src src/SubProj

shamap

0370cf235b9844445ddbd0570b51df8ab4cfbfe9 4bb51586a76b0c8071fff389dc6a1178505ab59b
... 
15a1d031f3bdd0b930645785d58586347365f65b e781c32e5aef538930c5c52beda8ac2a2e6adc6e

结果

run hg source pre-conversion action
run hg sink pre-conversion action
scanning source...
scanning: 1 revisions
scanning: 2 revisions
scanning: 3 revisions
scanning: 4 revisions
scanning: 5 revisions
scanning: 6 revisions
scanning: 7 revisions
scanning: 8 revisions
sorting...
converting...
7 Added tests 
source: 15a1d031f3bdd0b930645785d58586347365f65b
converting: 0/8 revisions (0.00%)

// ...

6 Merge with AddingMetadata
source: f4a8ef2059633068ac49f51f7923d78031732a58
converting: 1/8 revisions (12.50%)
run hg sink post-conversion action
run hg source post-conversion action
abort: unknown revision '4bb51586a76b0c8071fff389dc6a1178505ab59b'!  <----- What?

1 个答案:

答案 0 :(得分:1)

我通过升级到2.9.1

解决了这个问题