Is there a version of Mercurial?

I was given a clone of the Mercurial repository, and I don’t know which version of Mercurial created the repository. Are all compatible with Mercurial repositories? That is, can I install the latest version of Mercurial on my machine and be able to interact with the repository in order, or there may be a problem without knowing that the version of Mercurial was created in the repository?

+8
mercurial
source share
2 answers

I am writing a blog post on this topic:

In the near future, the new version of HG may work locally on old repositories, but returns a false sentence.

The wire protocol does not change in versions of HG, so you can clone , pull , click from any version of HG to any version of HG that work in the http: // and ssh: // protocols.

If you access the repository on the local file system and are not supported, you get an error message, for example:

 abort: requirement 'fncache' not supported!

This is controlled by keywords from the required files:

   $ cat repo / .hg / requires
 revlogv1
 store
 fncache
 dotencode
+4
source share

Mercurial developers will switch to longer lengths to provide backward compatibility.

Changes that may affect compatibility are listed in UpgradeNotes .

+3
source share

All Articles