cvs中源码的头部信息不能自动更新了

  原来,我用eclipse2.1提交文件时,在源码中的头部信息如:“// $ Id: DispatchPageAction.java,v 1.3 2005/12/18 13:49:06 dashing_meng Exp $”就会自动更新版本和时间,可是,在最近的代码提交中,我发现它不起作用了。

  因为上次是因为文件属性被设置成了kb成了二进制文件不能自动更新,这次我特意看了文件类型,是kkv(文本文件),没错。可是,为什么这种自动更新不起作用了?搞不懂。

莫名其妙的文件删除

  今天晚上,用eclipse2.1更新白天在单位上做的文件时,突然发现少了很有几个文件,一看是分散的几个目录就有文件被自己删除了。时间大概是上午。

  我上午明明只是更新了几个文件没有删除任何文件,这是怎么一回事呢?搞不懂了。还不会用cvs的文件恢复,只得手工在learndiary.tigris.org上把在attic里的文件下载下来,拷入本地目录中。

一个低级错误:把文本文件设置为-kb

  当初,不会用cvs,不知怎么搞的把*.jsp,*.tld这样的文本文件设置成了-kb(二进制文件的设置),结果,文件头部的“关键字”说明不起作用(从中可以看出,关键字说明只对文本文件有用)。例如:// $Id: readyCreateGoal.jsp,v 1.4 2005/12/30 13:12:44 dashing_meng Exp $ 不会自动更新了。我也是在发现它不能自动更新后才发觉这个低级错误的。

  怎样批量的更改它,我也不知道。只有用wincvs逐个文件夹的更改。还有,改过来后发现所有文字间都多了一个空行。也不知道是怎么一回事。

  这个问题记在这里。

  

"import" meet "\" problem

cvs -d:pserver:name@cvs.tigris.org:/cvs import learndiary\old learndiary initial

error message says I have no write access to cvs authority.

But,I own the write authority to cvs.

Later,change "\" into "/",like below:

cvs -d:pserver:name@cvs.tigris.org:/cvs import learndiary/old learndiary initial

That's ok.

can't remove a directory in cvs repository really

A 'remove' command to be used at cvs client can't really remove a directory in cvs repository,and,if it is a file to be removed,it only removes this file to a folder named 'Attic'.

I don't know why CVSNT cannot be installed on my computer,so I can't use wincvs and test cvs function in eclipse,and can't test JCVS yet.So,using command-line cvs client is a proper choice of mine,I can do some test before I upload my changes to cvs server.

can the CVS operate a non-text file?

for example:a image or sound or a sort of uml file?I knew the change of a text file can be recognized by the CVS and can be limited a change in some lines.

but,I think a non-text file should there is not return character and new-line character in it.