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

def rabbitvcs::lib::vcs::svn::SVN::revpropget (   self,
  url,
  prop_name,
  rev = None 
)

Retrieves the revprop value for a specific url/propname/revision

@type   url:       string
@param  url:       A repository url

@type   prop_name:  string or self.PROPERTIES
@param  prop_name:  An svn property name.

@type   rev: pysvn.Revision object 
@param  rev: The revision to attach the prop to

@rtype:         tuple(revision object, propsdict)
@return:        A tuple with revision information and property dictionary

Definition at line 992 of file __init__.py.

00992                                                   :
        """
        Retrieves the revprop value for a specific url/propname/revision
        
        @type   url:       string
        @param  url:       A repository url
        
        @type   prop_name:  string or self.PROPERTIES
        @param  prop_name:  An svn property name.

        @type   rev: pysvn.Revision object 
        @param  rev: The revision to attach the prop to
        
        @rtype:         tuple(revision object, propsdict)
        @return:        A tuple with revision information and property dictionary
        
        """

        if rev is None:
            rev = self.revision("head")
        
        return self.client.revpropget(
            prop_name,
            url,
            revision=rev.primitive()
        )
        
    def revpropdel(self, url, prop_name, rev=None, force=False):


Generated by  Doxygen 1.6.0   Back to index