Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

186
Views
Mercurial 5.9.3 on WinXP: Why zstd compression not available?

I'm in need for using Mercurial on WinXP 32bit. The repositories were created on a different system (Win10) and are relatively new, so they require revlog-compression-zstd. Unfortunately, this seems not to be available on the WinXP, even with Mercurial 5.9.3. Whenever I try to run some hg command on the repos, I get the following error message: repository requires features unknown to this Mercurial: revlog-compression-zstd

Here's the output from hg debuginstall (sorry, it's a German Windows):

Y:\Litho_newRepo>hg debuginstall
checking encoding (cp1252)...
checking Python executable (C:\Programme\TortoiseHg\hg.exe)
checking Python implementation (CPython)
checking Python version (2.7.17)
Pr³fe Python lib (C:\Programme\TortoiseHg\lib\library.zip)...
checking Python security support (sni,tls1.0,tls1.1,tls1.2)
checking Rust extensions (missing)
checking Mercurial version (5.9.3)
checking Mercurial custom build ()
checking module policy (allow)
Pr³fe installierte Module (C:\Programme\TortoiseHg\lib\library.zip\mercurial)...

checking registered compression engines (bz2, bz2truncated, none, zlib, zstd)
checking available compression engines (bz2, bz2truncated, none, zlib)
checking available compression engines for wire protocol (zlib, bz2, none)
checking "re2" regexp engine (missing)
checking templates (C:\Programme\TortoiseHg\templates)...
checking default template (C:\Programme\TortoiseHg\templates\map-cmdline.default
)
checking commit editor... (notepad)
checking username (John Doe)
Keine Probleme gefunden

So zstd is registered, but not available. How would I enable it? The file mercurial.zstd.pyd exists in the lib directory of the Mercurial installation. I have even tried to copy a zstd.pyd from the local Python 2.7, but it does not seem to be picked up.

I've already tried downgrading the repo to remove the need for zstd, but it did not work, too. I did so by adding

[format]
revlog-compression-zstd = no

to hgrc and running hg debugupgraderepo --run afterwards, but it just told me nothing to do.

I'd appreciate any advice. Thank you.

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!