Subversion 定时提交
我有一个受版本控制的文件夹;这些内容不是源代码,但它们是经常修改的二进制文件,通常每天提交一次。
问题是,这些文件的使用者无法掌握源代码控制的概念,他们实际上无法访问有问题的文件夹,并且“他们不愿意”每天提交一次。
我想做的是每天(凌晨 4 点)自动提交该文件夹一次。是否有任何现有工具,或者我必须编写一个?
I've got a folder under version control; the contents aren't source, but they are binaries that are modified frequently and would generally get committed once a day.
Problem is, the consumers of those files can't grasp the concept for source control, they don't realistically have access to the folder in question and 'they can't be bothered' to commit once a day.
What I'd like to do, is have an auto-commit, once a day (4 am) of that folder. Are there any existing tools, or do I have to write one?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用
cron
或at
以及在每台客户端 PC 上调用相应svn ci
命令的脚本文件来设置自动提交。在我看来,自动提交不是一个好主意:,但我从你的描述中了解到,这在你的情况下可能并不重要。
You could set up an auto-commit using
cron
orat
and a script file calling the appropriatesvn ci
commands on each client PC. Auto-committing is not a good idea IMO:but I understand from your description that this may not matter in your case.