Package buildbot :: Package slave :: Package commands :: Module vcs :: Class Monotone
[frames] | no frames]

Class Monotone

source code

base.Command --+    
               |    
      SourceBase --+
                   |
                  Monotone

Monotone-specific VC operation. In addition to the arguments handled by SourceBase, this command reads the following keys:

['server_addr'] (required): the address of the server to pull from ['branch'] (required): the branch the revision is on ['db_path'] (required): the local database path to use ['revision'] (required): the revision to check out ['monotone']: (required): path to monotone executable

Instance Methods
 
setup(self, args)
Override this in a subclass to extract items from the args dict.
source code
 
sourcedirIsUpdateable(self)
Returns True if the tree can be updated.
source code
 
doVCUpdate(self)
Returns a deferred with the steps to update a checkout.
source code
 
doVCFull(self)
Returns a deferred with the steps to do a fresh checkout.
source code

Inherited from SourceBase: doClobber, doClobberTryChmodIfFail, doCopy, doPatch, doVC, doVCFallback2, interrupt, maybeClobber, maybeDoVCFallback, maybeDoVCRetry, parseGotRevision, readSourcedata, sourcedataMatches, sourcedirIsPatched, start, writeSourcedata

Inherited from base.Command: __init__, __providedBy__, commandComplete, doInterrupt, doStart, sendStatus

Class Variables
  header = 'monotone operation'

Inherited from SourceBase: sourcedata

Inherited from base.Command: __implemented__, __provides__, debug, interrupted, running

Method Details

setup(self, args)

source code 

Override this in a subclass to extract items from the args dict.

Overrides: base.Command.setup
(inherited documentation)

sourcedirIsUpdateable(self)

source code 

Returns True if the tree can be updated.

Overrides: SourceBase.sourcedirIsUpdateable
(inherited documentation)

doVCUpdate(self)

source code 

Returns a deferred with the steps to update a checkout.

Overrides: SourceBase.doVCUpdate
(inherited documentation)

doVCFull(self)

source code 

Returns a deferred with the steps to do a fresh checkout.

Overrides: SourceBase.doVCFull
(inherited documentation)