Patchwork D9787: hghave: clarify `sqlite` requirements

login
register
mail settings
Submitter phabricator
Date Jan. 15, 2021, 1:08 p.m.
Message ID <differential-rev-PHID-DREV-p6qnkevpwvp2xk3sbvzq-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48098/
State Superseded
Headers show

Comments

phabricator - Jan. 15, 2021, 1:08 p.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  We need more than the python module, we also need the sqlite3 command line.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  tests/hghave.py

CHANGE DETAILS




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

Patch

diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -1006,7 +1006,7 @@ 
     return 'fncache' in getrepofeatures()
 
 
-@check('sqlite', 'sqlite3 module is available')
+@check('sqlite', 'sqlite3 module and cli is available')
 def has_sqlite():
     try:
         import sqlite3