KOIE Hidetaka (鯉江英隆)
hide****@koie*****
2003年 4月 4日 (金) 15:08:29 JST
Message-Id: <20030****@mail*****> Date: Thu, 3 Apr 2003 19:11:48 +0900 From: unno-****@necat***** Subject: [cvs-jp-info 67] HEAD | ブランチ上で HEAD キーワードを使用して メイントランクとの差分を | 表示しようとしたのですが、なにも差分が表示されません。 | | なにか、間違をしているのでしょうか? | | ここで cvs diff -r HEAD xx.c と打つ | | | 1.1.2.1 V | ¥-------*----------*- | ¥ | ---*-------*-------*---- | 1.1 1.2 1.3 わたしもそうだとおもっていたのですが いまソース(diff.c)をみてみたら どうもブランチの先頭を指すみたいです。 revision 1.80 date: 1998/04/21 14:07:13; author: kingdon; state: Exp; lines: +15 -3 branches: 1.80.2; (This diff was run by devel-cvs and everyone seemed to like it). * diff.c (diff_file_nodiff): Make HEAD mean the head of the branch which contains the sticky tag, not the sticky tag itself. * rcs.c, rcs.h (RCS_branch_head): New function. * sanity.sh (head): Update for this changed behavior. ソースをぱっと眺めた感じでは -rHEADがブランチのHEADなのかトランクのHEADなのかは コマンドによってちがってきそうです。 -- 鯉江