##// END OF EJS Templates
don't recurse into '.hg' of removed repositories...
don't recurse into '.hg' of removed repositories Walking through the content of a '.hg' that has been renamed to 'rm__.hg' on startup can take a lot of time.

File last commit:

r2007:324ac367 beta
r3090:280ac97c 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')