有没有办法找到新添加到 cvs 存储库的文件列表

发布于 2024-07-18 08:49:46 字数 68 浏览 6 评论 0原文

有没有办法找到新添加到 cvs 存储库的文件列表

仅供参考:由于损坏,CVS 历史命令在我的系统上不起作用

is there a way to find the list of files added freshly/newly to a cvs repository

FYI : CVS history command doesn't work on my system due to corruption

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

奈何桥上唱咆哮 2024-07-25 08:49:46

如果您的存储库已损坏,导致 cvs 历史记录无法工作,我怀疑您是否能够找到可靠工作的命令。

If your repository is corrupted such that cvs history does not work, I doubt you'll be able to find a command that will reliably work.

海的爱人是光 2024-07-25 08:49:46

“CVS History”命令怎么样?

What about "CVS History" command ?

妄想挽回 2024-07-25 08:49:46

你可以设置提交日志...
如果您有权访问 $CVSROOT,则可以修改 loginfo 以在提交发生时将其写入文件

$CVSROOT/loginfo:

#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog 
# or 
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog

这会将存储库中的 ALL 模块的日志消息写入到
文件“提交日志”

you could set up commitlogs...
If you have access to $CVSROOT you can modify loginfo to have it write to a file when a commit has occurred

$CVSROOT/loginfo:

#DEFAULT (echo ""; id; echo %s; date; cat) >> $CVSROOT/CVSROOT/commitlog 
# or 
#DEFAULT (echo ""; id; echo %{sVv}; date; cat) >> $CVSROOT/CVSROOT/commitlog

This writes the log messages of ALL modules in the repository to the
file 'commitlog'

皓月长歌 2024-07-25 08:49:46

您可以设置监视并在存储库中的文件被修改时收到电子邮件...
如果您有权访问 $CVSROOT,您可以修改通知,使其在

$CVSROOT/notify 中签入文件时发送电子邮件:

ALL /bin/mail -s "CVS notification" %s 

ALL mail %s -s \"CVS notification\" 

执行 cvs watch on
检查每个模块并执行
cvs watch add -a commit

请务必查看手册 http://developer .apple.com/opensource/cvs/cederquist/cvs_84.html

you could set up watches and get emailed when a file in the repository is modified...
If you have access to $CVSROOT you can modify notify to have it send email when a file is checked in

$CVSROOT/notify:

ALL /bin/mail -s "CVS notification" %s 

or

ALL mail %s -s \"CVS notification\" 

do cvs watch on
checkout each module and do a
cvs watch add -a commit

be sure to check on the manual http://developer.apple.com/opensource/cvs/cederquist/cvs_84.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文