SVK::Command::Diff(3)

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

πŸ’– 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 β€” takes ARG. Fun fact: some commands also take an ARG1:ARG2 range, so you're not stuck with just one number. πŸŽ€
  • -c [--change] rev β€” shows the change from rev-1 to rev. And if rev is 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 negative NUMBER means "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