[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cvs-ml 979] Re: [Q] How to commit new patchlevel module



 From:       TAKAHASHI Kaoru <kaoru@se.uec.ac.jp>
 Subject:    [cvs-ml 978] Re: [Q] How to commit new patchlevel module
 Date:       Sat, 25 Nov 2000 21:42:05 +0900
 Message-Id: <86n1eo2pe3.wl@mature.din.or.jp>

  |  1. cvs diff で v1.1pl1 から v1.1 への(逆)パッチを作る。
  |  2. 作った(逆)パッチを当てる。

1と2の代りに
作業ディレクトリで以下のコマンドを実行することでも可能です。
TAG(X)はバージョンXに対応するリビジョンタグに置き換えて考えてください。

    % cvs update -j TAG(v1.1pl1) -j TAG(v1.1) 

cvs.infoでいえば
Merging differences between any two revisions (node: Merging two revisions)
の最後の段落に書いてある方法になります。または
<http://www-vox.dj.kit.ac.jp/nishi/cvs/cvs-manual/cvs-jp_58.html#SEC61>

━━━━━━━━━━━━━━ここから━━━━━━━━━━━━━━
   Specifying two `-j' options can also undo file removals or
additions.  For example, suppose you have a file named `file1' which
existed as revision 1.1, and you then removed it (thus adding a dead
revision 1.2).  Now suppose you want to add it again, with the same
contents it had previously.  Here is how to do it:

     $ cvs update -j 1.2 -j 1.1 file1
     U file1
     $ cvs commit -m test
     Checking in file1;
     /tmp/cvs-sanity/cvsroot/first-dir/file1,v  <--  file1
     new revision: 1.3; previous revision: 1.2
     done
     $
━━━━━━━━━━━━━━ここまで━━━━━━━━━━━━━━

--
KOIE Hidetaka 鯉江英隆 <hide@koie.org>