开发者

Subversion timed commit

开发者 https://www.devze.com 2022-12-22 13:27 出处:网络
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.

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 t开发者_JAVA百科he 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?


You could set up an auto-commit using cron or at and a script file calling the appropriate svn ci commands on each client PC. Auto-committing is not a good idea IMO:

  • Broken, unfinished code might get checked in
  • any changes will not be documented

but I understand from your description that this may not matter in your case.

0

精彩评论

暂无评论...
验证码 换一张
取 消