##// END OF EJS Templates
pull request: use unionrepo instead of outgoing...
pull request: use unionrepo instead of outgoing This makes it possible to look the 'moving target' symbols up in the right repo. Using a revset with the right revisions also removes the need for pruning changesets that are outside the requested range. It will also not be confused by changesets that for some reason has been pulled to the repo but haven't been merged yet. They are going to be 'merged' by the 'pull' request and should thus be a part of what is reviewed.

File last commit:

r1818:cf51bbfb beta
r3303:ae5ac36c beta
Show More
__init__.py
30 lines | 841 B | text/x-python | PythonLexer
added dbmigrate package, added model changes...
r833 """
This module extends SQLAlchemy and provides additional DDL [#]_
support.
.. [#] SQL Data Definition Language
"""
import re
import warnings
import sqlalchemy
from sqlalchemy import __version__ as _sa_version
warnings.simplefilter('always', DeprecationWarning)
auto white-space removal
r1818 _sa_version = tuple(int(re.match("\d+", x).group(0))
pep8ify
r1210 for x in _sa_version.split("."))
added dbmigrate package, added model changes...
r833 SQLA_06 = _sa_version >= (0, 6)
update migrations for 1.2
r1442 SQLA_07 = _sa_version >= (0, 7)
added dbmigrate package, added model changes...
r833
del re
del _sa_version
fixed imports on migrate, added getting current version from database
r835 from rhodecode.lib.dbmigrate.migrate.changeset.schema import *
from rhodecode.lib.dbmigrate.migrate.changeset.constraint import *
added dbmigrate package, added model changes...
r833
pep8ify
r1210 sqlalchemy.schema.Table.__bases__ += (ChangesetTable,)
sqlalchemy.schema.Column.__bases__ += (ChangesetColumn,)
sqlalchemy.schema.Index.__bases__ += (ChangesetIndex,)
added dbmigrate package, added model changes...
r833
pep8ify
r1210 sqlalchemy.schema.DefaultClause.__bases__ += (ChangesetDefaultClause,)