This is an archive of the discontinued Mercurial Phabricator instance.

tests: use `testrepohg` in one more place in test-check-code.t
ClosedPublic

Authored by mharbison72 on Nov 21 2020, 11:03 PM.

Details

Summary

This is already used elsewhere in the test to access the current hg repo, and
avoids an error about the unknown revlog-compression-zstd when C extensions
aren't built. The only other such error is in test-check-interfaces.py, but I
don't see a way to avoid it other than to create an empty scratch repo.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

mharbison72 created this revision.Nov 21 2020, 11:03 PM
pulkit accepted this revision.Nov 26 2020, 7:44 AM
This revision is now accepted and ready to land.Nov 26 2020, 7:44 AM