hgcompat.py
24 lines
| 858 B
| text/x-python
|
PythonLexer
r2199 | """ | |||
Mercurial libs compatibility | ||||
""" | ||||
r2007 | ||||
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 | ||||
r2207 | from mercurial.encoding import tolocal | |||
r2478 | from mercurial import discovery | |||
r2684 | from mercurial import localrepo | |||
r2801 | from mercurial import scmutil | |||
r2815 | from mercurial.discovery import findcommonoutgoing | |||
r3797 | ||||
from mercurial.util import url as hg_url | ||||
# those authnadlers are patched for python 2.6.5 bug an | ||||
# infinit looping when given invalid resources | ||||
from mercurial.url import httpbasicauthhandler, httpdigestauthhandler | ||||