##// END OF EJS Templates
add option for graphmod to support both hg 2.2 and hg 2.1
add option for graphmod to support both hg 2.2 and hg 2.1

File last commit:

r2207:17ff5693 beta
r2222:e5abb9ef beta
Show More
hgcompat.py
14 lines | 497 B | text/x-python | PythonLexer
"""
Mercurial libs compatibility
"""
from mercurial import archival, merge as hg_merge, patch, ui
from mercurial.commands import clone, nullid, pull
from mercurial.context import memctx, memfilectx
from mercurial.error import RepoError, RepoLookupError, Abort
from mercurial.hgweb.common import get_contact
from mercurial.localrepo import localrepository
from mercurial.match import match
from mercurial.mdiff import diffopts
from mercurial.node import hex
from mercurial.encoding import tolocal