##// END OF EJS Templates
new dulwich based implementation of added/modified/removed...
new dulwich based implementation of added/modified/removed functions for GIT changeset. Much faster some test up to 70% speed improvements. Pure awesomeness !

File last commit:

r2007:324ac367 beta
r2762:ba4fb9c4 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')