我在 linux ubuntu 14.04 lts 上使用 Mercurial Distributed SCM(版本 3.3.2)。我尝试使用命令行解绑在 Mac osx 上制作的 mercurial hg 包:
hg unbundle XXX.hg
中止:XXX.hg:未知 bundle 版本 20
有人知道发生了什么事吗?谷歌研究并未提供太多相关信息。
最佳答案
我必须将 type='bzip2-v1'
添加到 bundle 调用中
from mercurial.commands import bundle
bundle(ui, repo, tmpfile.name, dest=None, base=(parentc.rev(),), rev=(c.rev(),), type='bzip2-v1')
关于linux - Mercurial 解包错误 : abort: . .. 未知包版本 20,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/35231547/