Setting Host Fingerprints for Mercurial

If you get the error

while cloning a Mercurial repo, then you need to add the host fingerprint into the .hgrc file.

Run this command:

And replace your repo.domain.com with your domain where is the repo.

The output will be something like:

SHA1 Fingerprint=AB:41:11:21:12:5F:07:7A:BC:0D:F4:5D:3B:D3:8A:11:B1:33:A5:91

Put in ~/.hgrc

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *