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

def hgsubversion::svnwrap::subvertpy_wrapper::SubversionRepo::list_props (   self,
  path,
  revision 
)
Return a mapping of property names to values, raise IOError if
specified path does not exist.

Definition at line 485 of file subvertpy_wrapper.py.

                                        :
        """Return a mapping of property names to values, raise IOError if
        specified path does not exist.
        """
        try:
            pl = self.client.proplist(self.path2url(path), revision,
                                      client.depth_empty)
        except SubversionException, e:
            # Specified path does not exist at this revision
            if e.args[1] == subvertpy.ERR_NODE_UNKNOWN_KIND:
                raise IOError(errno.ENOENT, e.args[0])
            raise
        return pl and pl[0][1] or {}


Generated by  Doxygen 1.6.0   Back to index