tests/hghaveaddon.py
author Pulkit Goyal <7895pulkit@gmail.com>
Wed, 24 Jan 2018 13:20:18 +0530
changeset 3492 53cd61f7f9c9
parent 2959 ef361938dfa1
permissions -rw-r--r--
evolve: make `--continue` continue evolving all remaining revisions This patch makes `hg evolve --continue` to continue all remaining revisions instead of just the current conflicted one. There are some still improvements required to this behavior after which the CHANGELOG entry will be added.

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