Mercurial: How to get rid of "warning: xxxx uses revlog 0 format"?

After a small project with the Hg version for a while, I checked the local and central Mercurial repositories today. Locally, I have no errors or warnings, and "the repository uses the revlog 1 format." However in the central repository I get

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
...

(13 warnings of this type in total). Can I get rid of these warnings?

+5
source share
3 answers

If you clone the repo with --pull, it will be recreated as the newest view that the version of Mercurial that you run will read / write. No --pullhard links are used for old data files.

:

hg clone --pull existingrepo newrepo
mv existingrepo was-existingrepo
mv newrepo existingrepo
+2

, . Hg Hg, . 1, .

+1

I had success by creating a repository clone with errors at the error point, and then pulling the contents of the repository processed by the error into a new clone.

Assuming the error starts with version 170:

hg clone -r 170 damagedRepo newRepo
cd newRepo
hg pull ../damagedRepo
0
source

All Articles