hghave: clarify `sqlite` requirements
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 15 Jan 2021 14:05:32 +0100
changeset 46264 7149fb17ff72
parent 46263 d46646ce3158
child 46265 8045e4aa366b
hghave: clarify `sqlite` requirements We need more than the python module, we also need the sqlite3 command line. Differential Revision: https://phab.mercurial-scm.org/D9787
tests/hghave.py
--- a/tests/hghave.py	Fri Jan 15 01:21:58 2021 +0100
+++ b/tests/hghave.py	Fri Jan 15 14:05:32 2021 +0100
@@ -1006,7 +1006,7 @@
     return 'fncache' in getrepofeatures()
 
 
-@check('sqlite', 'sqlite3 module is available')
+@check('sqlite', 'sqlite3 module and matching cli is available')
 def has_sqlite():
     try:
         import sqlite3