SVK::Command::Diff(3)
π SVK::Command::Diff β the manual page, but make it cute π
okay bestie, listen up β this is the page for SVK::Command::Diff(3), part of the Perl docs, and it's literally just about showing you the diff between revisions or checkout copies. Iconic behaviour, honestly.
β¨ NAME β¨
SVK::Command::Diff β display diff between revisions or checkout copies. That's the whole vibe. π¦
πΈ SYNOPSIS πΈ
diff [-r REV] [PATH...]
diff -r N[:M] DEPOTPATH
diff -c N DEPOTPATH
diff DEPOTPATH1 DEPOTPATH2
diff DEPOTPATH PATH
Five whole ways to ask for a diff, and every single one of them is valid. Pick your fighter. π
π OPTIONS π
-r [--revision] argβ takesARG. Fun fact: some commands also take anARG1:ARG2range, so you're not stuck with just one number. π-c [--change] revβ shows the change fromrev-1torev. And ifrevis negative? It reverses the whole thing. Not me flipping the diff backwards, it's giving time travel but make it petty. π
π§ The revision argument tea π§
Okay so a revision argument can be one of these, and you need to know all of them:
"HEAD"β latest in repository. Main character of the repo. β{DATE}β revision at start of the date. Yes, curly braces, don't come for me.NUMBERβ revision number. Just a number, bestie, it's not that deep.NUMBER@β interpret as remote revision number. The little@changes everything, iykyk.NUM1:NUM2β revision range. Give it a range, get a range back. π
And here's the bit everyone forgets:
Given negativeNUMBERmeans"HEAD"+NUMBER. (Counting backwards) π«Ά
So like, negative numbers aren't weird, they're just HEAD doing the worm. Slay.
π The rest of the flags π
-s [--summarize]β show summary only. No yapping, just the facts. π-v [--verbose]β print extra information. The opposite of-s, and she's loud about it. π£-X [--expand]β expand files copied as new files. Un-flattens the copy situation. π§-N [--non-recursive]β do not descend recursively. Stay in your lane, literally. π
Also, heads up: see also SVKDIFF in svk help environment. Go read it, it's important, no cap. π
And that's the whole page, bestie. perl v5.42.0, dated 2025-07-25 β mwah, kissing you goodbye, go diff something gorgeous π β¨ππ¦πΈ
π¦ where this page comes from
- fedora 43: perl-SVK 2.2.3-45.fc43 Β· GPL-1.0-or-later OR Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms