HG(ABORT)

πŸ¦‹ hg abort β€” the "nvm bestie, we're not doing this" button

ok so real talk, this page lives in the HG(ABORT) section of the manual, and it's lowkey one of the most useful panic buttons in all of Mercurial. let's get into it πŸ’…


✨ NAME ✨

hg abort β€” abort an unfinished operation (EXPERIMENTAL)

heads up: this command is marked EXPERIMENTAL, so treat it like a brand new hyperfixation β€” it's real, it works, but the interface could still shift on you. πŸ‘€

🌸 SYNOPSIS 🌸

hg abort

that's it. no args. no flags required. she's simple like that. πŸŽ€


πŸ’– DESCRIPTION πŸ’–

So picture this: you started a multistep operation and now it's just… sitting there. half-finished. staring at you. main character energy but in a bad way. 😭

hg abort bails you out of exactly that. It aborts a multistep operation β€” things like graft, histedit, rebase, merge, and unshelve β€” if they are in an unfinished state.

no unfinished state? nothing to abort. the vibe check passes and you move on. ✨

and bestie, if you just wanna see what it would do without actually committing to it, use --dry-run/-n to dry run the command. window shopping only, no receipts. πŸ›οΈ


πŸ‘‘ OPTIONS πŸ‘‘

  • -n, --dry-run β€” do not perform actions, just print output

that's the whole list. one option, and she's a good one. it's giving "look but don't touch". πŸ’…


🌈 SEE ALSO 🌈

ok so the original page doesn't list any SEE ALSO entries β€” no cross-references, no little friends, nothing. so this section is just vibes and empty space. πŸ¦‹


quick reminder for the girlies: hg abort is for operations that are unfinished. If the thing already finished (or never started), there is literally nothing here for you, and that's fine. 🫢

and that's the whole page, fr fr. hg abort, experimental, aborts unfinished graft / histedit / rebase / merge / unshelve, and -n/--dry-run lets you peek without touching. slay. πŸ’–

this was the HG(ABORT) page from the Mercurial manual β€” no version or date info was included on the original footer, just the <hotpink>HG(ABORT)</hotpink> header repeated down at the bottom, so consider this your cute little sign-off instead. bye bestie, go abort something responsibly. πŸŽ€βœ¨