Logo Search packages:      
Sourcecode: rabbitvcs version File versions  Download package

def rabbitvcs::lib::vcs::svn::SVN::get_revision (   self,
  path 
)

Retrieve the current revision number for a path

@type   path:   string
@param  path:   A working copy path.

@rtype:         integer
@return:        A repository revision.

Definition at line 680 of file __init__.py.

00680                                 :
        """
        Retrieve the current revision number for a path
        
        @type   path:   string
        @param  path:   A working copy path.
        
        @rtype:         integer
        @return:        A repository revision.
        
        """
    
        info = self.client.info(path)
        
        returner = None
        try:
            returner = info["commit_revision"].number
        except KeyError, e:
            log.exception("KeyError exception in svn.py get_revision() for %s" % path)
        except AttributeError, e:
            log.exception("AttributeError exception in svn.py get_revision() for %s" % path)
        
        return returner

    def get_head(self, path):


Generated by  Doxygen 1.6.0   Back to index