小弟初說CVS,有問題請教各位老大...

QQQiang 2004-09-03 11:09:40
我按網上朋友講的方法學習,在用UltraEdit編程Modules文件時,編輯內容如下,可不知爲何,總是提交錯誤:
# Three different line formats are valid:
# key -a aliases...
# key [options] directory
# key [options] directory files...
#
# Where "options" are composed of:
# -i prog Run "prog" on "cvs commit" from top-level of module.
# -o prog Run "prog" on "cvs checkout" of module.
# -e prog Run "prog" on "cvs export" of module.
# -t prog Run "prog" on "cvs rtag" of module.
# -u prog Run "prog" on "cvs update" of module.
# -d dir Place module in directory "dir" instead of module name.
# -l Top-level directory only -- do not recurse.
#
# NOTE: If you change any of the "Run" options above, you'll have to
# release and re-checkout any working directories of these modules.
#
# And "directory" is a path to a directory relative to $CVSROOT.
#
# The "-a" option specifies an alias. An alias is interpreted as if
# everything on the right of the "-a" had been typed on the command line.
#
# You can encode a module within a module by using the special '&'
# character to interpose another module into the current module. This
# can be useful for creating a module that consists of many directories
# spread out over the entire source repository.
#這裡是我加入的不知對不對
CVSRoot CVSRoot
Jackey Jackey
Goury Goury
Riolee Riolee

...全文
257 7 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
csz163 2004-12-10
  • 打赏
  • 举报
回复
应该是这样:
cvsrootcvsroot

1 工作目录 -a 1
2 工作目录 -a 2
3 工作目录 -a 3
4 工作目录 -a 4

也可以用一个工作目录 我是这样子弄的 成功了

我是刚刚才学会架设cvs 还不会用
本身是学网络的 可惜北方找不到工作 只好进软件公司了!
有达人cvs弄的明白 教教俺啊 msn:csz163@msn.com 万分感谢!
Tycool 2004-09-20
  • 打赏
  • 举报
回复
怎么操作的呢,怎么默认是
cvs -z9 commit -m "no message" modules
一般不都是 -t的吗?

由此可见本身提交是完全成功的:
/CVS/KHRoot/CVSROOT/modules,v <-- modules
new revision: 1.8; previous revision: 1.7
done

以下的信息表明正在启用新的modules文件的设置:
cvs server: Rebuilding administrative file database
cvs server: Unknown expansion option 'P'.
cvs server: invalid RCS expansion flags

由此,出错应该是modules内容的格式问题,看看文档吧,我没用过
pizicai105 2004-09-04
  • 打赏
  • 举报
回复
CVS是什么?
QQQiang 2004-09-04
  • 打赏
  • 举报
回复
我是做的遠程管理CVSNT,所以把CVSROOT下到管理客戶端的,這是我的管理客戶端目錄(F:\CVS\CVSClient\Admin\),不知是不是Modules文件的格式不對,提交錯誤如下:
cvs -z9 commit -m "no message" modules (in directory F:\CVS\CVSClient\Admin\CVSRoot\)
Checking in modules;
/CVS/KHRoot/CVSROOT/modules,v <-- modules
new revision: 1.8; previous revision: 1.7
done
cvs server: Rebuilding administrative file database
cvs server: Unknown expansion option 'P'.
cvs server: invalid RCS expansion flags
Valid flags are one of:
t Text file (default)
b Binary file (merges not allowed).
B Binary file using binary deltas (merges not allowed).
u Unicode (UCS-2) file with BOM.
{encoding} Extended encoding type
Followed by any of:
c Force reserved edit.
k Substitute keyword.
v Substiture value.
l Generate lockers name.
L Generate Unix line endings on checkout.
o Don't change keywords.
z Compress deltas within RCS files.
(Specify the --help global option for a list of other help options)

***** CVS exited normally with code 1 *****
Tycool 2004-09-04
  • 打赏
  • 举报
回复
对阿,把提交错误拿来看看呢
xxedge 2004-09-04
  • 打赏
  • 举报
回复
提交出什么错误呢?这个文件应该在CVSROOT目录下,你把CVSROOT目录正确checkout了么?

1,268

社区成员

发帖
与我相关
我的任务
社区描述
软件工程/管理 管理版
社区管理员
  • 研发管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧