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=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
+
+@check('emacs', 'GNU Emacs')
+def has_emacs():
+return matchoutput('emacs --version', b'GNU Emacs')
To: durin42, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel