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

login
register
mail settings
Submitter phabricator
Date Nov. 22, 2020, 4:03 a.m.
Message ID <differential-rev-PHID-DREV-kxhbpqnw2jwlhdf6ltef-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47643/
State Superseded
Headers show

Comments

phabricator - Nov. 22, 2020, 4:03 a.m.
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




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

Patch

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