]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
neutron-db-manage: expose alembic 'heads' command
authorIhar Hrachyshka <ihrachys@redhat.com>
Fri, 20 Nov 2015 16:35:10 +0000 (17:35 +0100)
committerIhar Hrachyshka <ihrachys@redhat.com>
Fri, 20 Nov 2015 16:39:11 +0000 (17:39 +0100)
commit80ec3658033b1520cac9071e36b0cda2ac60f166
treeec9c4b8dd10c2b803bc007237b67c836fd58d24e
parent2c3496db90d1665e243c4b946d1ed11ae13b5ccb
neutron-db-manage: expose alembic 'heads' command

This command shows current heads in all alembic branches. Even without
the command, we *can* get the heads values by looking into *_HEAD files
in tree. Still, those files may be missing; and the command is a tiny
bit more easy to use. Also, it gives access to more details on head
revisions if used with --verbose.

Change-Id: I6e7b7b5cd6f704d5d4bb4d845bf5098d4045924a
neutron/db/migration/cli.py
neutron/tests/unit/db/test_migration.py