[Buildbot-devel] Spare checkout leads to deleting build directory and another checkout

Derek Graham (ML) derek.m.graham+ml at gmail.com
Thu Jun 7 16:22:12 UTC 2012


I'm doing a sparse check-out using the following bit of code:

svn_min_steps = [source.SVN(svnurl = svn_trunk,
                            mode = "update", depth = "immediates"),
                 source.SVN(svnurl = "%s/a" % svn_trunk,
                            mode = "update", depth = "files", workdir =
"build/a"),
                 source.SVN(svnurl = "%s/b/c" % svn_trunk,
                            mode = "update", depth = "infinity", workdir =
"build/b/c")
                 ]
...
factory.addSteps(svn_min_steps)
... etc

But what I get is that for every build the second and third steps removes
the path specifed by 'workdir' then do the whole check-out again rather
than update :(

I've tried using baseURL and set defaultBranch to an empty string as I seen
that in another post, but that didn't work either.

Removing the first source step didn't help either.

What is the proper method to perform an sparse update?

Many thanks,

d
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://buildbot.net/pipermail/devel/attachments/20120607/8c30b08f/attachment.html>


More information about the devel mailing list