When you are developing a java project,you maybe want to log the history of the reason of changing your java code.You can write some comment on the head of a java file,but if there are too many files you changed which have the same reason,you need write the same comment in every java file.It's very terror.But if you use cvs to manage your source codes,you can write a line of comment like this:
$Log: ClassName,v $
then,when you commit the source you changed,you can write some message to explain what you did.
$Log: ClassName,v $
then,when you commit the source you changed,you can write some message to explain what you did.
本文介绍了一种在Java项目中利用CVS进行版本管理的方法,通过在文件头部添加特殊注释$Log:ClassName,v$,可以在提交更改时记录变更原因,从而避免重复书写相同注释的问题。
1576

被折叠的 条评论
为什么被折叠?



