]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Move empty downgrade revisions check to make it specific to branch filtering case...
authorSimon Bowly <simon.bowly@gmail.com>
Fri, 7 May 2021 01:21:55 +0000 (11:21 +1000)
committerSimon Bowly <simon.bowly@gmail.com>
Fri, 7 May 2021 01:48:29 +0000 (01:48 +0000)
commit4b0797f008f6cd4b53d1a44fd1bc83c32537d90d
tree9c679a23496cd64d49d3caa5e2478f76c4eb9998
parent54cedeb6b36e96ac00bea75fe1141ee1680d4387
Move empty downgrade revisions check to make it specific to branch filtering case as intended.

Fixed regression in new versioning traversal where "alembic downgrade head" (or equivalent) fails instead of iterating no revisions.

Fixes: #839
Change-Id: I9e8463ee067761ee4588c2ccc1b1009e2be97c38
alembic/script/revision.py
docs/build/unreleased/839.rst [new file with mode: 0644]
tests/test_version_traversal.py