SHTK_CVS_CHECKOUT(3)

πŸ“¦ version 1.7, in nixos 26.05, nixpkgs unstable

πŸ¦‹ SHTK_CVS_CHECKOUT(3) β€” Library Functions Manual πŸ¦‹

okay so bestie, welcome to the Library Functions Manual entry for this CVS checkout function. It’s giving old-school but still useful, and we’re keeping every single detail, periodt.

✨ NAME ✨

shtk_cvs_checkout β€” Checks out a new working copy out of a CVS repository πŸŽ€

πŸ“š LIBRARY πŸ“š

shtk_import cvs

πŸͺ„ SYNOPSIS πŸͺ„

shtk_cvs_checkout cvsroot module tag directory

πŸ’– DESCRIPTION πŸ’–

The shtk_cvs_checkout function checks out a new working copy of the repository cvsroot into directory using the given module and tag. The directory must not exist. 🚨

The CVS tag provided in tag can be empty, in which case the working copy is checked out from HEAD. Slay, that’s the default-ish vibe.

In general, you should resort to using the higher-level shtk_cvs_fetch(3) wrapper as it properly handles the case of already existing working copies (which could be caused by a previously aborted checkout, for example). That wrapper is the main character here, lowkey. πŸ‘‘

🌸 EXAMPLES 🌸

shtk_cvs_checkout :ext:anoncvs@anoncvs.NetBSD.org:/cvsroot \
    src netbsd-7 /usr/src

πŸ’€ ERRORS πŸ’€

shtk_cvs_checkout aborts execution with an error if the given directory already exists or if the CVS checkout operation fails. No cap, it will not just vibe through that. 😭

πŸ‘€ SEE ALSO πŸ‘€

shtk(3), shtk_cvs(3)

🧚 HISTORY 🧚

shtk_cvs_checkout first appeared in shtk 1.0. iconic behavior, honestly. ⭐


πŸ’Œ cute sign-off: this page is from Debian, dated November 7, 2014, and it’s SHTK_CVS_CHECKOUT(3). bye bestie! 🫢
πŸ“¦ where this page comes from