feat(bin): mt-land asks before it lands #67
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
public/dotfiles-public!67
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/mt-land-confirm"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Bear: "do I need to specify the tip? that seems burdensome and takes away the user-friendliness."
At a terminal,
mt-land <train>now lists the train's PRs after every check and asks:Only
y/yeslands. The merge stays pinned to the tip it showed (fast-forward-only withhead_commit_id), so a train that changes between the question and the answer is refused by Forgejo, and nothing needs copying by hand.--yes/-yskips the question.--json,--check, and fully pinned calls (--prand--tip).declined, exit 3, nothing merged.Tests: tools/mt-land/test_mt_land.py, 45 OK. The new ConfirmTest covers:
--yesand the pinned,--checkand--jsoncalls never ask;🤖 Generated with Claude Code
https://claude.ai/code/session_01XMf4ELSbWvtUkEeVky4wWr
landed in jmz/dotfiles-public#68 as
c92de9405aPull request closed