GNU RCS 5.9.1: Revision options

Next: , Up: Common elements   [Contents][Index]


2.1.1 Revision options

As to be expected in a revision control system, many options are of the form ‘-flag[rev]’, where flag is a single letter (e.g., ‘r’). If ommitted, rev defaults to the latest revision on the default branch. A revision can be specified in many ways:

br.n

Straightforward dot-notation, where br specifies the branch.

.n

Like br.n, using the default branch.

br

Like br.n, using the a command-specific computation of n, given the current tip i. For ci (see ci), n would be i + 1, while for other commands n would be simply i.

name

This is the symbolic name of a revision, as assigned previously by a ci -n or ci -N command.

$

The command computes the effective revision by examining the values of keyword expansions in the working file.

For commands that accept a range of revisions, the syntax is generally rev1:rev2, i.e., two revisions (specified as described above) separated by a colon.


223 visits (2 today, 12 this week, 42 this month, 223 this year)
Uptime: 22:23:31 up 4 days, 4:06, 3 users, load average: 0.00, 0.00, 0.00
3.17.78.184 GET from server z.larrymurakami.com

Saturday, December 21, 2024 @ 10:23:31 PM
z.ServerAdmin@lam1.us