| Home | Trees | Indices | Help | 
        
  | 
  
|---|
| 
       | 
  
Command --+
          |
         SourceBase
Abstract base class for Version Control System operations (checkout and update). This class extracts the following arguments from the dictionary received from the master:
| Instance Methods | |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
      
  | 
  |||
| 
     Inherited from   | 
  |||
| Class Variables | |
        sourcedata = 
     | 
  |
| 
     Inherited from   | 
  |
| Method Details | 
  
 Override this in a subclass to extract items from the args dict. 
  | 
  
 Start the command. This method should return a Deferred that will fire when the command has completed. The Deferred's argument will be ignored. This method should be overridden by subclasses. 
  | 
  
 Override this in a subclass to allow commands to be interrupted. May be called multiple times, test and set self.interrupted=True if this matters. 
  | 
  
 Override this in a subclass. It should return a string that represents which revision was actually checked out, or a Deferred that will fire with such a string. If, in a future build, you were to pass this 'got_revision' string in as the 'revision' component of a SourceStamp, you should wind up with the same source code as this checkout just obtained. It is probably most useful to scan self.command.stdout for a string of some sort. Be sure to set keepStdout=True on the VC command that you run, so that you'll have something available to look at. If this information is unavailable, just return None.  | 
  
 We get here somewhere after a VC chain has finished. res could be: - 0: the operation was successful - nonzero: the operation failed. retry if possible - AbandonChain: the operation failed, someone else noticed. retry. - Failure: some other exception, re-raise  | 
| Home | Trees | Indices | Help | 
        
  | 
  
|---|
| Generated by Epydoc 3.0.1 on Thu Jan 21 21:26:16 2010 | http://epydoc.sourceforge.net |