Page MenuHomePhabricator

revlog: fix error about unknown compression format in py3
ClosedPublic

Authored by valentin.gatienbaron on Tue, Apr 6, 1:53 PM.

Details

Summary

In py2, the error is something like:
abort: unknown compression type 'x'!

In py3, we get the following unhelpful message:
abort: unknown compression type <memory at 0x7f4650b5cdc8>!

Switch to something like:
abort: unknown compression type 78!

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

pulkit accepted this revision.Thu, Apr 8, 3:02 AM
This revision is now accepted and ready to land.Thu, Apr 8, 3:02 AM