linux 修改cvs密码,linux CVS 修改提交代码时的模板

在CVS中如果没有模板文件在提供文件时会出现如下:

CVS: ----------------------------------------------------------------------

CVS: Enter Log.  Lines beginning with `CVS:' are removed automatically

CVS:

CVS: Committing in .

CVS:

CVS: Modified Files:

CVS:    define.php

CVS: ----------------------------------------------------------------------

~

这时你可以在你的项目下的CVS目录中看到没有             Template文件

这主要是你的CVS服务器没有     /cvsroot/CVSROOT下没有commit.tmpl这个文件.并查看     /cvsroot/CVSROOT下rcsinfo中没有DEFAULT /export/home/cvsroot/CVSROOT/commit.tmpl这行代码

[root@CVS CVSROOT]# more rcsinfo

# The "rcsinfo" file is used to control templates with which the editor

# is invoked on commit and import.

#

# The first entry on a line is a regular expression which is tested

# against the directory that the change is being made to, relative to the

# $CVSROOT.  For the first match that is found, then the remainder of the

# line is the name of the file that contains the template.

#

# If the repository name does not match any of the regular expressions in this

# file, the "DEFAULT" line is used, if it is specified.

#

# If the name "ALL" appears as a regular expression it is always used

# in addition to the first matching regex or "DEFAULT".

DEFAULT /export/home/cvsroot/CVSROOT/commit.tmpl

如果你想修改CVS 修改提交代码时的模板就修改/export/home/cvsroot/CVSROOT/commit.tmpl 文件

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值