Mercurial > evolve
view tests/hghaveaddon.py @ 3898:93d9cde93b82 stable
tests: add test for issue5946
The test case is a copy of the one for 5833. The only difference is
that the merge parents are recorded in the opposite order (and that
the test is truncated because it fails).
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 25 Jul 2018 14:00:49 -0700 |
parents | ef361938dfa1 |
children | 6a50faea786d |
line wrap: on
line source
import hghave @hghave.check("docgraph-ext", "Extension to generate graph from repository") def docgraph(): try: import hgext.docgraph hgext.docgraph.cmdtable # trigger import except ImportError: try: import hgext3rd.docgraph hgext3rd.docgraph.cmdtable # trigger import except ImportError: return False return True