monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Help request with buildbot for monotone


From: Richard Levitte
Subject: Re: [Monotone-devel] Help request with buildbot for monotone
Date: Tue, 10 Jul 2007 07:35:27 +0200 (CEST)

Small update (and I guess that anyone using buildbot with monotone
could benefit from this), because an only h: with no branch name
requires the existence of a workspace:

#
#
# patch "buildbot/slave/commands.py"
#  from [b4e578755040bb8d00929f93f38a9f0e4e24b56f]
#    to [31e2bed6d56c291a56b41c9796fcd2a521bc27a1]
#
============================================================
--- buildbot/slave/commands.py  b4e578755040bb8d00929f93f38a9f0e4e24b56f
+++ buildbot/slave/commands.py  31e2bed6d56c291a56b41c9796fcd2a521bc27a1
@@ -1648,7 +1648,7 @@ class Monotone(SourceBase):
         return self._withFreshDb(self._doFull)
 
     def _doFull(self):
-        revision = self.revision or 'h:'
+        revision = self.revision or ('h:' + self.branch)
         command = [self.monotone, "--db=" + self.full_db_path,
                    "checkout",
                    "-r", revision,


At this point, it looks like the buildbot on monotone.ca works the way
it should.  The web interface is available at http://monotone.ca:8010/.

Cheers,
Richard

-----
Please consider sponsoring my work on free software.
See http://www.free.lp.se/sponsoring.html for details.

-- 
Richard Levitte                         address@hidden
                                        http://richard.levitte.org/

"When I became a man I put away childish things, including
 the fear of childishness and the desire to be very grown up."
                                                -- C.S. Lewis




reply via email to

[Prev in Thread] Current Thread [Next in Thread]