summaryrefslogtreecommitdiff
path: root/docs/build/branches.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/build/branches.rst')
-rw-r--r--docs/build/branches.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/build/branches.rst b/docs/build/branches.rst
index 796cfb9..d0e3a6f 100644
--- a/docs/build/branches.rst
+++ b/docs/build/branches.rst
@@ -498,6 +498,11 @@ This kind of thing works from history as well::
$ alembic history -r current:shoppingcart@+2
+The newer ``relnum+delta`` format can be combined as well, for example
+if we wanted to list along ``shoppingcart`` up until two revisions
+before the head::
+
+ $ alembic history -r :shoppingcart@head-2
.. _multiple_bases: