##// END OF EJS Templates
diff parser: redefined operations stats for changes...
diff parser: redefined operations stats for changes - don't loose info about multiple operations like rename + chmod - new Binary flag when dealing with binary file operations - fixed diffs after mercurial 2.6 when GIT binary diffs were fixed - added more tests for multiple operations - refactored the way diffprocessor returns data. It's now easier to extract type of operation on binary files - diffprocessor doesn't append that information into the diff itself

File last commit:

r3797:d7488551 beta
r3821:ce4b7023 beta
Show More
hgcompat.py
24 lines | 858 B | text/x-python | PythonLexer
various fixes for git and mercurial with InMemoryCommit backend and non-ascii files...
r2199 """
Mercurial libs compatibility
"""
Added VCS into rhodecode core for faster and easier deployments of new versions
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
white space cleanup
r2207 from mercurial.encoding import tolocal
white space cleanup
r2478 from mercurial import discovery
Bumped mercurial version to 2.3...
r2684 from mercurial import localrepo
fixes #550 mercurial repositories comparision failed when origin repo had...
r2801 from mercurial import scmutil
White space cleanup
r2815 from mercurial.discovery import findcommonoutgoing
synced vcs with upstream...
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