home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / prgramer / unix / doc / rlog.man < prev    next >
Text File  |  1992-02-19  |  6KB  |  141 lines

  1. NAME
  2.      rlog - print log messages and other information about RCS
  3.      files
  4.  
  5. SYNOPSIS
  6.      rlog [ options ] file ...
  7.  
  8. DESCRIPTION
  9.      rlog prints information about RCS files.
  10.  
  11.      Pathnames matching an RCS suffix denote RCS files; all
  12.      others denote working files.  Names are paired as explained
  13.      in ci(1).
  14.  
  15.      rlog prints the following information for each RCS file: RCS
  16.      pathname, working pathname, head (i.e., the number of the
  17.      latest revision on the trunk), default branch, access list,
  18.      locks, symbolic names, suffix, total number of revisions,
  19.      number of revisions selected for printing, and descriptive
  20.      text.  This is followed by entries for the selected
  21.      revisions in reverse chronological order for each branch.
  22.      For each revision, rlog prints revision number, author,
  23.      date/time, state, number of lines added/deleted (with
  24.      respect to the previous revision), locker of the revision
  25.      (if any), and log message.  All times are displayed in
  26.      Coordinated Universal Time (UTC).  Without options, rlog
  27.      prints complete information.  The options below restrict
  28.      this output.
  29.  
  30.      -L  Ignore RCS files that have no locks set.  This is
  31.          convenient in combination with -h, -l, and -R.
  32.  
  33.      -R  Print only the name of the RCS file.  This is convenient
  34.          for translating a working pathname into an RCS pathname.
  35.  
  36.      -h  Print only the RCS pathname, working pathname, head,
  37.          default branch, access list, locks, symbolic names, and
  38.          suffix.
  39.  
  40.      -t  Print the same as -h, plus the descriptive text.
  41.  
  42.      -b  Print information about the revisions on the default
  43.          branch, normally the highest branch on the trunk.
  44.  
  45.      -ddates
  46.          Print information about revisions with a checkin
  47.          date/time in the ranges given by the semicolon-separated
  48.          list of dates.  A range of the form d1<d2 or d2>d1
  49.          selects the revisions that were deposited between d1 and
  50.          d2 inclusive.  A range of the form <d or d> selects all
  51.          revisions dated d or earlier.  A range of the form d< or
  52.          >d selects all revisions dated d or later.  A range of
  53.          the form d selects the single, latest revision dated d
  54.          or earlier.  The date/time strings d, d1, and d2 are in
  55.          the free format explained in co(1).  Quoting is normally
  56.          necessary, especially for < and >.  Note that the
  57.          separator is a semicolon.
  58.  
  59.      -l[lockers]
  60.          Print information about locked revisions only.  In
  61.          addition, if the comma-separated list lockers of login
  62.          names is given, ignore all locks other than those held
  63.          by the lockers.  For example, rlog -L -R -lwft RCS/*
  64.          prints the name of RCS files locked by the user wft.
  65.  
  66.      -r[revisions]
  67.          prints information about revisions given in the comma-
  68.          separated list revisions of revisions and ranges.  A
  69.          range rev1:rev2 means revisions rev1 to rev2 on the same
  70.          branch, :rev means revisions from the beginning of the
  71.          branch up to and including rev, and rev: means revisions
  72.          starting with rev to the end of the branch containing
  73.          rev.  An argument that is a branch means all revisions
  74.          on that branch.  A range of branches means all revisions
  75.          on the branches in that range.  A branch followed by a .
  76.          means the latest revision in that branch.  A bare -r
  77.          with no revisions means the latest revision on the
  78.          default branch, normally the trunk.
  79.  
  80.      -sstates
  81.          prints information about revisions whose state
  82.          attributes match one of the states given in the comma-
  83.          separated list states.
  84.  
  85.      -w[logins]
  86.          prints information about revisions checked in by users
  87.          with login names appearing in the comma-separated list
  88.          logins.  If logins is omitted, the user's login is
  89.          assumed.
  90.  
  91.      -Vn Emulate RCS version n when generating logs.  See co(1)
  92.          for more.
  93.  
  94.      -xsuffixes
  95.          Use suffixes to characterize RCS files.  See ci(1) for
  96.          details.
  97.  
  98.      rlog prints the intersection of the revisions selected with
  99.      the options -d, -l, -s, and -w, intersected with the union
  100.      of the revisions selected by -b and -r.
  101.  
  102. EXAMPLES
  103.          rlog  -L  -R  RCS/*
  104.          rlog  -L  -h  RCS/*
  105.          rlog  -L  -l  RCS/*
  106.          rlog  RCS/*
  107.  
  108.      The first command prints the names of all RCS files in the
  109.      subdirectory RCS that have locks.  The second command prints
  110.      the headers of those files, and the third prints the headers
  111.      plus the log messages of the locked revisions.  The last
  112.      command prints complete information.
  113.  
  114. ENVIRONMENT
  115.      RCSINIT
  116.           options prepended to the argument list, separated by
  117.           spaces.  See ci(1) for details.
  118.  
  119. DIAGNOSTICS
  120.      The exit status is zero if and only if all operations were
  121.      successful.
  122.  
  123. IDENTIFICATION
  124.      Author: Walter F. Tichy.
  125.      Revision Number: 5.3; Release Date: 1991/08/22.
  126.      Copyright 1982, 1988, 1989 by Walter F. Tichy.
  127.      Copyright 1990, 1991 by Paul Eggert.
  128.  
  129. SEE ALSO
  130.      ci(1), co(1), ident(1), rcs(1), rcsdiff(1), rcsintro(1),
  131.      rcsmerge(1), rcsfile(5)
  132.      Walter F. Tichy, RCS--A System for Version Control,
  133.      Software--Practice & Experience 15, 7 (July 1985), 637-654.
  134.  
  135. BUGS
  136.      The separator for revision ranges in the -r option used to
  137.      be - instead of :, but this leads to confusion when symbolic
  138.      names contain -.  For backwards compatibility rlog -r still
  139.      supports the old - separator, but it warns about this
  140.      obsolete use.
  141.