HG(OUTGOING)

🌸 NAME 🌸

hg outgoing β€” the little command that shows you the changesets that are not in the destination. iykyk, it's literally the "what would I be pushing rn" check. πŸ’…


✨ SYNOPSIS ✨

hg outgoing [-M] [-p] [-n] [-f] [-r REV]... [DEST]...

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so bestie, here's the vibe: hg outgoing shows you all the changesets that aren't found in the destination repo you pointed at β€” or, if you didn't point anywhere, in the default push location. These are exactly the changesets that would get pushed if you actually requested a push. It's a sneak peek. A trailer. A "preview the drop before it drops". πŸ‘‘

Need the deets on what counts as a valid destination format? Go look at pull. fr fr, that's where the lore lives.


πŸŽ€ Bookmark comparison (the fun part) πŸŽ€

With -B / --bookmarks, you get the result of the bookmark comparison between your local repo and the remote one. And if you add -v / --verbose, it also shows you the status for each bookmark, like this:

BM1               01234567890a added
BM2                            deleted
BM3               234567890abc advanced
BM4               34567890abcd diverged
BM5               4567890abcde changed

Now, what actually happens when you push depends on the status of each bookmark, so let's break it down one by one:

  • added β€” push with -B will create it. brand new bookmark, main character debut ✨
  • deleted β€” push with -B will delete it. gone, girl πŸ’€
  • advanced β€” push will update it. it moved forward, slay.
  • diverged β€” push with -B will update it.
  • changed β€” push with -B will update it.
🫢 From the point of view of pushing behavior, bookmarks that exist only in the remote repository are treated as deleted, even if they were in fact added remotely. that's just how it is, no cap.

And the receipts: returns 0 if there are outgoing changes, 1 otherwise. periodt.


πŸ’… OPTIONS πŸ’…

  • -f, --force β€” run it even when the destination is unrelated. chaotic? maybe. but it works.
  • -r, --rev <REV[+]> β€” a changeset intended to be included in the destination.
  • -n, --newest-first β€” show newest record first. freshest first, obviously πŸ“
  • -B, --bookmarks β€” compare bookmarks.
  • -b, --branch <BRANCH[+]> β€” a specific branch you would like to push.
  • -p, --patch β€” show patch.
  • -g, --git β€” use git extended diff format.
  • -l, --limit <NUM> β€” limit number of changes displayed.
  • -M, --no-merges β€” do not show merges.
  • --stat β€” output diffstat-style summary of changes.
  • -G, --graph β€” show the revision DAG.
  • --style <STYLE> β€” display using template map file (DEPRECATED). yes it's deprecated, don't come for me πŸ’€
  • -T, --template <TEMPLATE> β€” display with template.
  • -e, --ssh <CMD> β€” specify ssh command to use.
  • --remotecmd <CMD> β€” specify hg command to run on the remote side.
  • --insecure β€” do not verify server certificate (ignoring web.cacerts config). ⚠️ insecure means insecure, bestie, tread carefully.
  • -S, --subrepos β€” recurse into subrepositories.
🧚 the [+] marked option can be specified multiple times. stack 'em, queen.

🌈 ALIASES 🌈

  • out β€” the short lil nickname. use it, it's cute.

and that's the whole HG(OUTGOING) page, bestie πŸ’– straight from the Mercurial manual β€” no version stamp or date on this one, so consider it timeless ✨ go forth and check your outgoing like the icon you are πŸ‘‘