Page MenuHomePhabricator

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

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



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, but I
don't see a way to avoid it other than to create an empty scratch repo.

Diff Detail

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

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