小弟初說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

...全文
209 点赞 收藏 7
写回复
7 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
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了么?
回复
相关推荐
发帖
研发管理
创建于2007-08-27

1219

社区成员

软件工程/管理 管理版
申请成为版主
帖子事件
创建了帖子
2004-09-03 11:09
社区公告
暂无公告