Add indicate-current option into history command

Declined
#77 · Created  · Last updated

Declined pull request

Dear contributor - This pull request is being moved to Gerrit, at https://gerrit.sqlalchemy.org/#/c/zzzeek/alembic/+/697, where it may be tested and reviewed more closely. As such, the pull request itself is being marked "closed" or "declined", however your contribution is merely being moved to our central review system. Please register at https://gerrit.sqlalchemy.org#/register/ to send and receive comments regarding this item.

Closed by: ·2018-03-07

Description

This option indicates which is the current version in history. It inserts a token '(current)' at the right side of current revision. If some branches exist and there are some current revisions, the token is inserted at each revision.

My code includes a little bit something like a hack. It accesses the private member _is_current in Revision class from outside. I could not find another way. If you tell me another idea, I will try again.

Thank you for reading.

refs #481

0 attachments

0 comments

Loading commits...