home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / gnulib / rcs4 / doc / rcsmerge.man < prev    next >
Encoding:
Text File  |  1990-08-18  |  2.8 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      RCSMERGE(1L)         Purdue University          RCSMERGE(1L)
  5.  
  6.  
  7.  
  8.      NAME
  9.       rcsmerge - merge RCS revisions
  10.  
  11.      SYNOPSIS
  12.       rcsmerge -rrev1 [ -rrev2 ] [ -p ] file
  13.  
  14.      DESCRIPTION
  15.       Rcsmerge incorporates    the changes between rev1 and rev2 of
  16.       an RCS file into the corresponding working file. If -p is
  17.       given, the result is printed on the standard output,
  18.       otherwise the    result overwrites the working file.
  19.  
  20.       A file name ending in    ',v' is    an RCS file name, otherwise a
  21.       working file name. Merge derives the working file name from
  22.       the RCS file name and    vice versa, as explained in co(1L).  A
  23.       pair consisting of both an RCS and a working file name may
  24.       also be specified.
  25.  
  26.       Rev1 may not be omitted. If rev2 is omitted, the latest
  27.       revision on the default branch (normally the highest branch
  28.       on the trunk)    is assumed.  Both rev1 and rev2    may be given
  29.       numerically or symbolically.
  30.  
  31.       Rcsmerge prints a warning if there are overlaps, and
  32.       delimits the overlapping regions as explained    in co -j.  The
  33.       command is useful for    incorporating changes into a checked-
  34.       out revision.
  35.  
  36.      EXAMPLES
  37.       Suppose you have released revision 2.8 of f.c. Assume
  38.       furthermore that you just completed revision 3.4, when you
  39.       receive updates to release 2.8 from someone else.  To
  40.       combine the updates to 2.8 and your changes between 2.8 and
  41.       3.4, put the updates to 2.8 into file    f.c and    execute
  42.  
  43.           rcsmerge  -p    -r2.8  -r3.4  f.c  >f.merged.c
  44.  
  45.       Then examine f.merged.c.  Alternatively, if you want to save
  46.       the updates to 2.8 in    the RCS    file, check them in as
  47.       revision 2.8.1.1 and execute co -j:
  48.  
  49.           ci  -r2.8.1.1     f.c
  50.           co  -r3.4  -j2.8:2.8.1.1  f.c
  51.  
  52.       As another example, the following command undoes the changes
  53.       between revision 2.4 and 2.8 in your currently checked out
  54.       revision in f.c.
  55.  
  56.           rcsmerge  -r2.8  -r2.4  f.c
  57.  
  58.       Note the order of the    arguments, and that f.c    will be
  59.       overwritten.
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 8/18/90)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      RCSMERGE(1L)         Purdue University          RCSMERGE(1L)
  71.  
  72.  
  73.  
  74.      IDENTIFICATION
  75.       Author: Walter F. Tichy, Purdue University, West Lafayette,
  76.       IN, 47907.
  77.       Revision Number: 1.2 ; Release Date: 89/05/02    .
  78.       Copyright c 1982, 1988, 1989 by Walter F. Tichy.
  79.  
  80.      SEE ALSO
  81.       ci(1L), co(1L), merge(1L), ident(1L),    rcs(1L), rcsdiff(1L),
  82.       rlog(1L), rcsfile(5L),
  83.       Walter F. Tichy, "Design, Implementation, and    Evaluation of
  84.       a Revision Control System," in Proceedings of    the 6th
  85.       International    Conference on Software Engineering, IEEE,
  86.       Tokyo, Sept. 1982.
  87.  
  88.      BUGS
  89.       Rcsmerge does    not work on files that contain lines with a
  90.       single `.'.
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                         (printed 8/18/90)
  130.  
  131.  
  132.  
  133.