##// END OF EJS Templates
Implemented generation of changesets based...
Implemented generation of changesets based on whole diff instead of per file diff. That can give a big speed improvement for large changesets in repositories with large history. - improved handling of binary files - show renames of binary files - implemented new diff limit functionality - unify diff generation between hg and git - Added binary indicators for changed files, - added diff lib tests

File last commit:

r2007:324ac367 beta
r2995:32471bd1 beta
Show More
compat.py
13 lines | 266 B | text/x-python | PythonLexer
"""
Various utilities to work with Python < 2.7.
Those utilities may be deleted once ``vcs`` stops support for older Python
versions.
"""
import sys
if sys.version_info >= (2, 7):
unittest = __import__('unittest')
else:
unittest = __import__('unittest2')