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

mharbison72 (Matt Harbison) phabricator at mercurial-scm.org
Sun Nov 22 04:03:58 UTC 2020


mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION 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.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D9364

AFFECTED FILES
  tests/test-check-code.t

CHANGE DETAILS

diff --git a/tests/test-check-code.t b/tests/test-check-code.t
--- a/tests/test-check-code.t
+++ b/tests/test-check-code.t
@@ -90,6 +90,6 @@
 
 Keep Windows line endings in check
 
-  $ hg files 'set:eol(dos)'
+  $ testrepohg files 'set:eol(dos)'
   contrib/win32/hg.bat
   contrib/win32/mercurial.ini



To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel


More information about the Mercurial-devel mailing list