sccs-branch(1)
๐ sccs-branch(1) โ the branch-making, version-grabbing icon
okay so bestie, welcome to sccs-branch(1), one of the gorgeous little commands from Schily's USER COMMANDS lineup โจ this is the page where we learn how to spin up a brand new branch and pull a version out for editing, and honestly? it's giving main character energy ๐ฆ
๐ธ NAME ๐ธ
sccs-branch โ create a new branch and retrieve a version for editing ๐๐
โจ SYNOPSIS โจ
sccs branch [options] [file1 .. filen]
๐ DESCRIPTION ๐
So the branch subcommand does exactly what it says on the tin: it creates a new branch and retrieves a version for editing ๐ซถ. And lowkey, apart from that whole new-branch thing, it's literally equivalent to the edit subcommand. no cap.
<cyan>sccs branch</cyan> is equivalent to <pink>``get -b -e``</pink> followed by <pink>``delta -s -n``</pink> followed by <pink>``get -e -t -g``</pink>. that's the whole lineup, in that order, periodt ๐
๐ฅ OPTIONS ๐ฅ
-asequenceโ retrieves the version that corresponds to the indicated delta sequence number. ngl, this one is used primarily by the SCCScombcommand (peepsccs-comb(1)). for us regular users,-ris the easier way to specify a version ๐. important vibe check: the-aoption supersedes the-roption when both are used ๐-c date-time-cdate-timeโ retrieves the latest version checked in prior to the date and time indicated by the date-time argument. and date-time takes the form:
yy[mm[dd[ hh[mm[ss]]]]]
units omitted from the indicated date and time default to their maximum possible values โ so -c7502 is equivalent to -c750228235959 โญ. values of yy in the range 69โ99 refer to the twentieth century, and values in the range 00โ68 refer to the twenty-first century ๐ฐ๏ธ. any number of non-numeric characters may separate the various 2 digit components, and if white-space characters occur, the date-time specification must be quoted ๐ง
a date-time specification in the form:
yyyy/[mm[dd[hh[mm[ss]]]]]
refers to a 4-digit year and lets you specify a year outside the range 1969โ2068 ๐
-i sid-list-isid-listโ specifies a list of deltas to include in the retrieved version ๐. the included deltas are noted in the standard output message. sid-list is a comma-separated list of SIDs, and to specify a range of deltas, use a`โ'separator instead of a comma, between two SIDs in the list โจ-lโ retrieve a summary of the delta table asl.file๐-pโ writes the retrieved version to stdout ๐จ๏ธ-sโ suppresses all output normally written on the standard output. however (and this part matters, bestie ๐), fatal error messages โ which always go to the standard error โ remain unaffected ๐จ-r[sid]โ retrieves the version corresponding to the indicated SID (delta) ๐ฏ
the SID for a given delta is a number, in Dewey decimal format, composed of two or four fields: the release and level fields, and for branch deltas, the branch and sequence fields. for instance, if 1.2 is the SID, 1 is the release, and 2 is the level number. if 1.2.3.4 is the SID, 3 is the branch and 4 is the sequence number ๐ง
you need not specify the entire SID to retrieve a version with get. when you omit -r altogether, or when you omit both release and level, get normally retrieves the highest release and level ๐. if the d flag is set to an SID in the s.file and you omit the SID, get retrieves the default version indicated by that flag ๐
when you specify a release but omit the level, get retrieves the highest level in that release. if that release does not exist, get retrieves the highest level from the next-highest existing release ๐ฎ
similarly with branches, if you specify a release, level and branch, get retrieves the highest sequence in that branch ๐
-x sid-list-x[sid-list]โ excludes the indicated deltas from the retrieved version ๐. the excluded deltas are noted in the standard output message. sid-list is a comma-separated list of SIDs, and to specify a range of deltas, use a`โ'separator instead of a comma, between two SIDs in the list ๐ซ
๐ฆ EXAMPLES ๐ฆ
to create a new branch for the file xec.c in the current directory, call:
sccs branch xec.c
and that's it. slay. go edit your heart out ๐
๐ ENVIRONMENT VARIABLES ๐
see environ(7) for descriptions of the following environment variables that affect the execution of sccs-branch(1): LANG, LC_ALL, LC_CTYPE, LC_MESSAGES, and NLSPATH โญ
SCCS_NO_HELPโ if set,sccs branchwill not automatically callhelp(1)with the SCCS error code in order to print a more helpful error message ๐ . scripts that depend on the exact error messages of SCCS commands should set the environment variableSCCS_NO_HELPand setLC_ALL=C๐
๐ ATTRIBUTES ๐
see attributes(7) for descriptions of the following attributes:
- Attribute Type: Availability โ Attribute Value:
SCHILYdeveloper-build-sccs - Attribute Type: Interface Stability โ Attribute Value:
Committed
๐ซถ SEE ALSO ๐ซถ
sccs(1), sccs-add(1), sccs-admin(1), sccs-cdc(1), sccs-check(1), sccs-clean(1), sccs-comb(1), sccs-commit(1), sccs-create(1), sccs-cvt(1), sccs-deledit(1), sccs-delget(1), sccs-delta(1), sccs-diffs(1), sccs-edit(1), sccs-editor(1), sccs-enter(1), sccs-fix(1), sccs-get(1), sccs-help(1), sccs-histfile(1), sccs-info(1), sccs-init(1), sccs-istext(1), sccs-ldiffs(1), sccs-log(1), sccs-print(1), sccs-prs(1), sccs-prt(1), sccs-rcs2sccs(1), sccs-remove(1), sccs-rename(1), sccs-rmdel(1), sccs-root(1), sccs-sact(1), sccs-sccsdiff(1), sccs-status(1), sccs-tell(1), sccs-unedit(1), sccs-unget(1), sccs-val(1), what(1), sccschangeset(5), sccsfile(5) ๐ธ (yes, that's the whole friend group, they all show up ๐
)
๐ BUGS ๐
none currently known ๐โจ iconic behaviour, honestly.
mail bugs and suggestions to schilytools@mlists.in-berlin.de or open a ticket at https://codeberg.org/schilytools/schilytools/issues ๐
the mailing list archive may be found at:
https://mlists.in-berlin.de/mailman/listinfo/schilytools-mlists.in-berlin.de
๐ง AUTHORS ๐ง
sccs was originally written by Eric Allman at UCB in 1980 ๐. it was later maintained by various people at AT&T and Sun Microsystems. since 2006, it has been maintained by Joerg Schilling and the schilytools project authors ๐
๐ SOURCE DOWNLOAD ๐
the source code for sccs is included in the schilytools project and may be retrieved from the schilytools project at Codeberg at
https://codeberg.org/schilytools/schilytools
the download directory is
https://codeberg.org/schilytools/schilytools/releases
ok that's the whole page bestie, go forth and branch responsibly ๐โจ๐ฟ
later, legend โ page brought to you by Joerg Schilling, dated 2022/10/06, from the sccs-branch(1) era of Schily's USER COMMANDS. mwah ๐
๐ฆ where this page comes from
- opensuse-leap 16.0: sccs 2022.10.16-160000.2.2 ยท CDDL-1.0
- opensuse-leap 16.0: sccs 2022.10.16-160000.2.2 ยท CDDL-1.0
- opensuse-leap 16.0: sccs 2022.10.16-160000.2.2 ยท CDDL-1.0
- opensuse-leap 16.0: sccs 2022.10.16-160000.2.2 ยท CDDL-1.0
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms