def runCommand(self, cfg, argSet, args, profile=False, callback=None, repos=None): args = args[1:] #if len(args) < 2: return self.usage() checkin.refresh(repos, cfg, args[1:])
def refresh(self, targetDir=None): """ Refresh the checked-out sources for a conary source package. @param targetDir: checkout directory to refresh @type targetDir: string """ cfg = self.getConaryConfig() self._initializeFlavors() use.setBuildFlagsFromFlavor(None, cfg.buildFlavor, False) return checkin.refresh(self._getRepositoryClient(), cfg, dirName=targetDir)
def runCommand(self, cfg, argSet, args, profile = False, callback = None, repos = None): args = args[1:] #if len(args) < 2: return self.usage() checkin.refresh(repos, cfg, args[1:])