]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
Add --splice support to merge command
authorKadir Can Ozden <101993364+bysiber@users.noreply.github.com>
Sun, 22 Feb 2026 15:26:49 +0000 (10:26 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 22 Feb 2026 15:34:45 +0000 (10:34 -0500)
commit637159a95a3d9d7b30d1c9959b2c69ed5cc8e2e1
treecf54c475091b913118cbe4bb5d1221d631b0e6ae
parent285424809f75410e833799527784b70a833d6220
Add --splice support to merge command

Added ``--splice`` support to the :func:`.merge` command. Previously, the
merge command would suggest using ``--splice`` when attempting to merge
non-head revisions, but the flag was not actually accepted by the command.
The ``splice`` parameter is now available in both the command-line
interface and the :func:`.command.merge` function, matching the existing
support in :func:`.command.revision`.  Pull request courtesy Kadir Can
Ozden.

Fixes: #1712
Closes: #1794
Pull-request: https://github.com/sqlalchemy/alembic/pull/1794
Pull-request-sha: a0f9b6d929b7124fbc9c4c0d4d8191f57a42222d

Change-Id: I12125061777b829b98663adab1701154c6f7c3ac
alembic/command.py
docs/build/unreleased/1712.rst [new file with mode: 0644]
tests/test_command.py