##// END OF EJS Templates
compare: rename optional compare_url parameter repo to other_repo...
compare: rename optional compare_url parameter repo to other_repo At the same time it is placed before other_ref_type and other_ref. Just to keep a logical flow and (a new) consistency that will help the next refactoring.

File last commit:

r2007:324ac367 beta
r3317:b36285f9 beta
Show More
compat.py
13 lines | 266 B | text/x-python | PythonLexer
Added VCS into rhodecode core for faster and easier deployments of new versions
r2007 """
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')