[Buildbot-devel] Problems configuring svn
Simon Fraser
smfr at mac.com
Sat Apr 14 23:30:53 UTC 2007
On Apr 14, 2007, at 4:19 PM, Brian Rak wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
> I've recently setup buildbot on Debian Etch. Most of it's working
> fine,
> although I'm having problems with svn. Despite setting mode="update",
> it's still doing rm -rf build, then re-checking it out. Is there any
> way to fix this? Looking at the SVN update source, I can't see
> anything
> relating to it.
>
> Relevant config:
>
> sfbuild.addStep(
> SVN,
> svnurl="path/to/my/svn",
> mode="update",
> )
>
> sfbuildInfo = {'name': "linux-build",
> 'slavename': "linuxbox",
> 'builddir': "linux",
> 'factory': sfbuild,
> }
>
> - From the logs:
> starting svn operation
> rm -rf /home/buildbot/slave/sf-linux/build
>
>
> Thanks,
> Brian "devicenull" Rak
I believe it does an rm -rf build when the previous checkout failed
to complete successfully; there's a dot file written somewhere (sorry,
not in a position to check right now) that indicates whether the
previous
checkout was a success. So you'll see the rm -rf build until you have
a successful checkout.
Simon
More information about the devel
mailing list