Mercurial:如何摆脱"警告:xxxx使用revlog格式0"?

tex*_*nic 5 mercurial

在使用Hg版本的小型项目工作了一段时间后,我今天验证了本地和中央Mercurial存储库.在本地我没有错误或警告,"存储库使用revlog格式1".但是我得到了中央存储库

repository uses revlog format 1
checking changesets
checking manifests
crosschecking files in changesets and manifests
checking files
warning: `x' uses revlog format 0
warning: `xx' uses revlog format 0
warning: `xxx' uses revlog format 0
...
Run Code Online (Sandbox Code Playgroud)

(总共13种类型的警告).我可以摆脱这些警告吗?

Ry4*_*ase 2

如果您克隆一个存储库,--pull它将被重新创建为您正在运行的 Mercurial 版本可以读/写的最新版本。没有--pull硬链接则用于旧数据文件。

所以在服务器上运行:

hg clone --pull existingrepo newrepo
mv existingrepo was-existingrepo
mv newrepo existingrepo
Run Code Online (Sandbox Code Playgroud)