D6002: hghave: add check for GNU emacs

durin42 (Augie Fackler) phabricator at mercurial-scm.org
Sun Feb 24 20:38:23 EST 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHG2a6ca0d94b70: hghave: add check for GNU emacs (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6002?vs=14185&id=14230

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

AFFECTED FILES
  tests/hghave.py

CHANGE DETAILS

diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -822,3 +822,7 @@
     except (ImportError, AttributeError):
         pass
     return False
+
+ at check('emacs', 'GNU Emacs')
+def has_emacs():
+    return matchoutput('emacs --version', b'GNU Emacs')



To: durin42, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list