home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 22 gnu / 22-gnu.zip / rcs567x.zip / doc / rcsmerge.man < prev    next >
Text File  |  1994-03-22  |  6KB  |  199 lines

  1.  
  2.  
  3.  
  4. RCSMERGE(1)                                           RCSMERGE(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        rcsmerge - merge RCS revisions
  9.  
  10. SSYYNNOOPPSSIISS
  11.        rrccssmmeerrggee [_o_p_t_i_o_n_s] _f_i_l_e
  12.  
  13. DDEESSCCRRIIPPTTIIOONN
  14.        rrccssmmeerrggee incorporates the changes between two revisions of
  15.        an RCS file into the corresponding working file.
  16.  
  17.        Pathnames matching an RCS suffix  denote  RCS  files;  all
  18.        others   denote   working  files.   Names  are  paired  as
  19.        explained in ccii(1).
  20.  
  21.        At least one revision must be specified with  one  of  the
  22.        options  described  below,  usually --rr.  At most two revi-
  23.        sions may be specified.  If only one  revision  is  speci-
  24.        fied,  the latest revision on the default branch (normally
  25.        the highest branch on the trunk) is assumed for the second
  26.        revision.   Revisions may be specified numerically or sym-
  27.        bolically.
  28.  
  29.        rrccssmmeerrggee prints a  warning  if  there  are  overlaps,  and
  30.        delimits the overlapping regions as explained in mmeerrggee(1).
  31.        The command is useful for  incorporating  changes  into  a
  32.        checked-out revision.
  33.  
  34. OOPPTTIIOONNSS
  35.        --AA     Output conflicts using the --AA style of ddiiffff33(1), if
  36.               supported by ddiiffff33.  This merges all changes  lead-
  37.               ing  from _f_i_l_e_2 to _f_i_l_e_3 into _f_i_l_e_1, and is usually
  38.               the best choice for merging.  This  option  is  the
  39.               default if ddiiffff33 supports it.
  40.  
  41.        --EE, --ee These options specify conflict styles that generate
  42.               less  information  than  --AA.   See   ddiiffff33(1)   for
  43.               details.   If ddiiffff33 does not support --AA, then --EE is
  44.               the default if it is supported, and  --ee  is  other-
  45.               wise.
  46.  
  47.        --kk_s_u_b_s_t
  48.               Use  _s_u_b_s_t  style  keyword substitution.  See ccoo(1)
  49.               for details.  For example, --kkkk --rr11..11 --rr11..22  ignores
  50.               differences  in  keyword  values  when  merging the
  51.               changes from 11..11 to 11..22.
  52.  
  53.        --pp[_r_e_v]
  54.               Send the result to standard output instead of over-
  55.               writing the working file.
  56.  
  57.        --qq[_r_e_v]
  58.               Run quietly; do not print diagnostics.
  59.  
  60.  
  61.  
  62.  
  63.  
  64. GNU                         1993/11/03                          1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. RCSMERGE(1)                                           RCSMERGE(1)
  71.  
  72.  
  73.        --rr[_r_e_v]
  74.               Merge  with respect to revision _r_e_v.  Here an empty
  75.               _r_e_v stands for the latest revision on  the  default
  76.               branch, normally the head.
  77.  
  78.        --TT     This  option  has no effect; it is present for com-
  79.               patibility with other RCS commands.
  80.  
  81.        --VV     Print RCS's version number.
  82.  
  83.        --VV_n    Emulate RCS version _n.  See ccoo(1) for details.
  84.  
  85.        --xx_s_u_f_f_i_x_e_s
  86.               Use _s_u_f_f_i_x_e_s to characterize RCS files.  See  ccii(1)
  87.               for details.
  88.  
  89.        --zz_z_o_n_e Use _z_o_n_e as the time zone for keyword substitution.
  90.               See ccoo(1) for details.
  91.  
  92. EEXXAAMMPPLLEESS
  93.        Suppose you have released revision  2.8  of  ff..cc.   Assume
  94.        furthermore that after you complete an unreleased revision
  95.        3.4, you receive updates to release 2.8 from someone else.
  96.        To combine the updates to 2.8 and your changes between 2.8
  97.        and 3.4, put the updates to 2.8 into file f.c and execute
  98.  
  99.            rrccssmmeerrggee  --pp  --rr22..88  --rr33..44  ff..cc  >>ff..mmeerrggeedd..cc
  100.  
  101.        Then examine ff..mmeerrggeedd..cc.  Alternatively, if  you  want  to
  102.        save  the updates to 2.8 in the RCS file, check them in as
  103.        revision 2.8.1.1 and execute ccoo --jj:
  104.  
  105.            ccii  --rr22..88..11..11  ff..cc
  106.            ccoo  --rr33..44  --jj22..88::22..88..11..11  ff..cc
  107.  
  108.        As another  example,  the  following  command  undoes  the
  109.        changes  between  revision  2.4  and 2.8 in your currently
  110.        checked out revision in ff..cc.
  111.  
  112.            rrccssmmeerrggee  --rr22..88  --rr22..44  ff..cc
  113.  
  114.        Note the order of the arguments,  and  that  ff..cc  will  be
  115.        overwritten.
  116.  
  117. EENNVVIIRROONNMMEENNTT
  118.        RRCCSSIINNIITT
  119.               options  prepended  to the argument list, separated
  120.               by spaces.  See ccii(1) for details.
  121.  
  122. DDIIAAGGNNOOSSTTIICCSS
  123.        Exit status is 0 for no overlaps, 1 for some  overlaps,  2
  124.        for trouble.
  125.  
  126.  
  127.  
  128.  
  129.  
  130. GNU                         1993/11/03                          2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. RCSMERGE(1)                                           RCSMERGE(1)
  137.  
  138.  
  139. IIDDEENNTTIIFFIICCAATTIIOONN
  140.        Author: Walter F. Tichy.
  141.        Manual Page Revision: 5.5; Release Date: 1993/11/03.
  142.        Copyright (C) 1982, 1988, 1989 Walter F. Tichy.
  143.        Copyright (C) 1990, 1991, 1992, 1993 Paul Eggert.
  144.  
  145. SSEEEE AALLSSOO
  146.        ci(1),  co(1),  ident(1),  merge(1),  rcs(1),  rcsdiff(1),
  147.        rcsintro(1), rlog(1), rcsfile(5)
  148.        Walter  F.  Tichy,  RCS--A  System  for  Version  Control,
  149.        _S_o_f_t_w_a_r_e_-_-_P_r_a_c_t_i_c_e   _&   _E_x_p_e_r_i_e_n_c_e  1155,  7  (July  1985),
  150.        637-654.
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196. GNU                         1993/11/03                          3
  197.  
  198.  
  199.