Files @ d21c762f5c4b
Branch filter:

Location: kallithea/rhodecode/lib/dbmigrate/migrate/versioning/templates/manage/default.py_tmpl - annotation

Marcin Kuzminski
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
#!/usr/bin/env python
from migrate.versioning.shell import main

{{py:
_vars = locals().copy()
del _vars['__template_name__']
_vars.pop('repository_name', None)
defaults = ", ".join(["%s='%s'" % var for var in _vars.iteritems()])
}}

if __name__ == '__main__':
    main({{ defaults }})