##// END OF EJS Templates
Added option to re-install githooks to repo2db mapper, and catch exception on removal so it doesn't break...
Added option to re-install githooks to repo2db mapper, and catch exception on removal so it doesn't break after first error

File last commit:

r2478:8eab8111 beta
r2619:f1dfd3a2 beta
Show More
hgcompat.py
15 lines | 529 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
from mercurial import discovery