diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-11-22 15:50:27 -0500 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2014-11-22 15:50:27 -0500 |
commit | fe533d5c5148d42f158cb76cf900a53283b00f8f (patch) | |
tree | c21689697704c5b6a80bbe51c9780864fde1e947 /docs | |
parent | 86070f6829e20e91847aed39cd934a394015c5d3 (diff) | |
download | alembic-fe533d5c5148d42f158cb76cf900a53283b00f8f.tar.gz |
tuple form as well
Diffstat (limited to 'docs')
-rw-r--r-- | docs/build/branches.rst | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/docs/build/branches.rst b/docs/build/branches.rst index 1e6714e..796cfb9 100644 --- a/docs/build/branches.rst +++ b/docs/build/branches.rst @@ -674,7 +674,15 @@ directive ``depends_on='55af2cb1c267'`` underneath the other directives:: depends_on='55af2cb1c267' Currently, ``depends_on`` needs to be a real revision number, not a partial -number or branch name. +number or branch name. It can of course refer to a tuple of any number +of dependent revisions:: + + # revision identifiers, used by Alembic. + revision = '2a95102259be' + down_revision = '29f859a13ea' + branch_labels = None + depends_on = ('55af2cb1c267', 'd747a8a8879', 'fa4456a9201') + We can see the effect this directive has when we view the history of the ``networking`` branch in terms of "heads", e.g., all the revisions that |