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

def rabbitvcs::lib::vcs::svn::SVN::get_items (   self,
  paths,
  statuses = [] 
)

Retrieves a list of files that have one of a set of statuses

@type   paths:      list
@param  paths:      A list of paths or files.

@type   statuses:   list
@param  statuses:   A list of pysvn.wc_status_kind statuses.

@rtype:             list
@return:            A list of PysvnStatus objects.

Definition at line 563 of file __init__.py.

00563                                            :
        """
        Retrieves a list of files that have one of a set of statuses
        
        @type   paths:      list
        @param  paths:      A list of paths or files.
        
        @type   statuses:   list
        @param  statuses:   A list of pysvn.wc_status_kind statuses.
        
        @rtype:             list
        @return:            A list of PysvnStatus objects.
        
        """

        if paths is None:
            return []
        
        items = []
        for path in abspaths(paths):
            try:
                st = self.status(path)
            except Exception, e:
                log.exception(e)
                continue

            for st_item in st:
                if statuses and st_item.text_status not in statuses \
                  and st_item.prop_status not in statuses:
                    continue

                items.append(st_item)

        return items

    def get_remote_updates(self, paths):


Generated by  Doxygen 1.6.0   Back to index