The InterMa Style

The Way of Freedom

配合CVS作补丁

, ,

记下来,备个忘。
[1]2个版本之间的补丁(后边的版本是目的版本)
$cvs diff -c -r 1.4 -r 1.3 NEWS > NEWS.diff

[2]本地与CVS中某个版本的补丁
$cvs diff -c -r 1.4 NEWS > NEWS.diff

[3]帖补丁(如果要反向贴补丁,就再加一个-R参数)
$patch -p0 < NEWS.diff

InterMa笑话集 第二期 关于hash_map的使用

Comments

bitstream Thursday, April 5, 2007 12:33:11 PM

patch配合zcat给内核打补丁很爽~!
建议你试试git,Linus就是用的git。

Anonymous Thursday, April 5, 2007 12:44:21 PM

bitstream writes: 邀请你加入我们的新闻组: http://groups.google.com/group/xiyoulinux Thanks!

InterMainterma Thursday, April 5, 2007 1:44:59 PM

哦,thx~,有机会用用。

btw:已经加入了,:-)

How to use Quote function:

  1. Select some text
  2. Click on the Quote link

Write a comment

Comment
(BBcode and HTML is turned off for anonymous user comments.)

If you can't read the words, press the small reload icon.


Smilies

February 2012
S M T W T F S
January 2012March 2012
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29