def scan_cvs(self): tree = cvstree.getentries("./", recursive=1) self.changed = cvstree.findchanged(tree, recursive=1, basedir="./") self.new = cvstree.findnew(tree, recursive=1, basedir="./") if self.options.if_modified == "y": self.removed = cvstree.findremoved(tree, recursive=1, basedir="./") del tree
def _get_changed_cvs_(self, mydeleted): mycvstree = cvstree.getentries("./", recursive=1) mychanged = cvstree.findchanged(mycvstree, recursive=1, basedir="./") mynew = cvstree.findnew(mycvstree, recursive=1, basedir="./") myremoved = portage.cvstree.findremoved(mycvstree, recursive=1, basedir="./") bin_blob_pattern = re.compile("^-kb$") no_expansion = set(portage.cvstree.findoption( mycvstree, bin_blob_pattern, recursive=1, basedir="./")) expansion = {} return (mynew, mychanged, myremoved, no_expansion, expansion)
def _get_changed_cvs_(self, mydeleted): mycvstree = cvstree.getentries("./", recursive=1) mychanged = cvstree.findchanged(mycvstree, recursive=1, basedir="./") mynew = cvstree.findnew(mycvstree, recursive=1, basedir="./") myremoved = portage.cvstree.findremoved(mycvstree, recursive=1, basedir="./") bin_blob_pattern = re.compile("^-kb$") no_expansion = set( portage.cvstree.findoption(mycvstree, bin_blob_pattern, recursive=1, basedir="./")) expansion = {} return (mynew, mychanged, myremoved, no_expansion, expansion)