revision extraction function shouldn't be so eager, just extract commits that are surrounded with spaces, or they are at beginning of the whole string - wrote tests for that - used parametrized for other tests
"""Various utilities to work with Python < 2.7.Those utilities may be deleted once ``vcs`` stops support for older Pythonversions."""importsysifsys.version_info>=(2,7):unittest=__import__('unittest')else:unittest=__import__('unittest2')