尝试使用Buildbot和SVN进行增量检出,但Buildbot会先保留整个树。我相信这是因为日志中的代码2错误,但我找不到任何有关如何解决它们的信息:
stat: No such file or directory: **/home/mtrew/Documents/svn/card/branches/galrel1_13/.buildbot-patched
program finished with exit code 2
stat: No such file or directory: /home/mtrew/Documents/svn/card/branches/galrel1_13/.svn
program finished with exit code 2**
rm -rf /home/mtrew/Documents/svn/card/branches/galrel1_13
in dir /home/mtrew/Documents/buildbot/slave/galbuild (timeout 1200 secs)
watching logfiles {}
argv: ['rm', '-rf', '/home/mtrew/Documents/svn/card/branches/galrel1_13']
设置结帐的cfg文件中的步骤是:
f_galbuild.addStep(steps.SVN(mode='incremental',
method='fresh',
repourl='http://titan/svn/sw/trunk/card/branches/galrel1_13',
username = "XXXXX",
password = "XXXXX",
workdir = "/home/mtrew/Documents/svn/card/branches/galrel1_13"))
答案 0 :(得分:0)
来自Buildbot 0.8.10's Build Steps Documentation:
SVN's incremental mode does not require a method.
所以也许会发生某种冲突,因为你已经设置了增量模式,但方法是完全的?