From fe533d5c5148d42f158cb76cf900a53283b00f8f Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sat, 22 Nov 2014 15:50:27 -0500 Subject: [PATCH] tuple form as well --- docs/build/branches.rst | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/build/branches.rst b/docs/build/branches.rst index 1e6714e6..796cfb95 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 -- 2.47.2