HG-NBMERGEWEB(1)
β¨ 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 (overridesmerge-strategyfor inputs).--output-strategy {inline,use-base,use-local,use-remote,remove,clear-all}β the merge strategy to use for outputs (overridesmerge-strategyfor 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 is0(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 than127.0.0.1/localhostmight comprimise the security of your computer. Use with care!
π¨ bestie listen. that--ipone? that is a do not be cute with this flag. anything other than127.0.0.1/localhostand 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-1to 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
- fedora 43: python3-nbdime 4.0.4-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND LicenseRef-Fedora-Public-Domain
- fedora 44: python3-nbdime 4.0.4-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND LicenseRef-Fedora-Public-Domain
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms