HG-NBMERGEWEB(1)

πŸ“¦
version 4.0.4 Β· 2 versions
, in fedora 43, fedora 44

✨ hg-nbmergeweb ✨

okay bestie, pull up a chair πŸ’– this is the manual page for hg-nbmergeweb, and it lives in section 1 (User Commands) of the manual, so that's the level of "you type it in a shell and it does a thing" we're operating at. Buckle up.


πŸ¦‹ NAME πŸ¦‹

hg-nbmergeweb β€” a mercurial web-based merge tool for notebooks. literally what it says on the tin, no cap.


🌸 SYNOPSIS 🌸

usage: hg-nbmergeweb [-h] [--version] [--config]
              [--log-level {DEBUG,INFO,WARN,ERROR,CRITICAL}] [-s] [-o]
              [-a] [-m] [-i] [-d] [--merge-strategy
              {inline,use-base,use-local,use-remote}] [--input-strategy
              {inline,use-base,use-local,use-remote}] [--output-strategy
              {inline,use-base,use-local,use-remote,remove,clear-all}]
              [--no-ignore-transients] [-p PORT] [-b BROWSER] [--persist] [--ip
              IP] [-w WORKDIRECTORY] [--base-url BASE_URL] [--show-unchanged]
              [--identical-lines-margin IDENTICAL_LINES_MARGIN] base local
              remote merged

πŸ‘‘ DESCRIPTION πŸ‘‘

so the whole ~concept~ is: this is a mercurial web-based merge tool for notebooks.

it uses nbdime to merge notebooks instead of doing plain text merges of JSON. that's the entire point, and it's giving "I refuse to read raw JSON diffs ever again" energy. see the documentation for how to correctly configure mercurial to use this β€” fr, go read it, don't just yolo it πŸ™ˆ

use it with:

hg merge [<commit> [<commit>]]

πŸŽ€ positional arguments

these four are not optional, bestie. they're the whole meal.

  • base β€” the base notebook filename.
  • local β€” the local modified notebook filename.
  • remote β€” the remote modified notebook filename.
  • merged β€” the merge result notebook filename.

πŸ’… OPTIONS πŸ’…

one bullet per option, exactly as the original lists them, no skipping the "boring" ones because none of them are boring:

  • -h, --help β€” show this help message and exit. classic.
  • --version β€” show program's version number and exit.
  • --config β€” list the valid config keys and their current effective values.
  • --log-level {DEBUG,INFO,WARN,ERROR,CRITICAL} β€” set the log level by name.
  • --merge-strategy {inline,use-base,use-local,use-remote} β€” the merge strategy to use.
  • --input-strategy {inline,use-base,use-local,use-remote} β€” the merge strategy to use for inputs (overrides merge-strategy for inputs).
  • --output-strategy {inline,use-base,use-local,use-remote,remove,clear-all} β€” the merge strategy to use for outputs (overrides merge-strategy for outputs).
  • --no-ignore-transients β€” disallow deletion of transient data such as outputs and execution counts in order to resolve conflicts.
  • -p, --port PORT β€” specify the port you want the server to run on. Default is 0 (random).
  • -b, --browser BROWSER β€” specify the browser to use, to override the system default.
  • --persist β€” prevent server shutting down on remote close request (when these would normally be supported).
  • --ip IP β€” specify the interface to listen to for the web server. NOTE: Setting this to anything other than 127.0.0.1/localhost might comprimise the security of your computer. Use with care!
🚨 bestie listen. that --ip one? that is a do not be cute with this flag. anything other than 127.0.0.1/localhost and you might be compromising your computer's security. use with care. for real for real.
  • -w, --workdirectory WORKDIRECTORY β€” specify the working directory you want the server to run from. Default is the actual cwd at program start.
  • --base-url BASE_URL β€” The base URL prefix under which to run the web app
  • --show-unchanged β€” show unchanged cells by default
  • --identical-lines-margin IDENTICAL_LINES_MARGIN β€” Margin for collapsing identical lines in editor; set to -1 to deactivate.

🧚 ignorables 🧚

Set which parts of the notebook (not) to process. this is your "I only care about these bits" section 🫢

  • -s, --sources, -S, --ignore-sources β€” process/ignore sources.
  • -o, --outputs, -O, --ignore-outputs β€” process/ignore outputs.
  • -a, --attachments, -A, --ignore-attachments β€” process/ignore attachments.
  • -m, --metadata, -M, --ignore-metadata β€” process/ignore metadata.
  • -i, --id, -I, --ignore-id β€” process/ignore identifiers.
  • -d, --details, -D, --ignore-details β€” process/ignore details not covered by other options.

🌈 and that's the whole page, no crumbs left. every flag, every default, every bracket in the usage line β€” all accounted for. iykyk πŸ’œ

and a little sign-off from me to you: this page is from hg-nbmergeweb 4.0.4, dated February 2026, and it's the HG-NBMERGEWEB(1) page, bestie β€” go merge some notebooks and slay βœ¨πŸŽ€

πŸ“¦ where this page comes from