def runCommand(self, cfg, argSet, args, profile=False, callback=None, repos=None): args = args[1:] if argSet or len(args) > 2: return self.usage() args[0] = repos checkin.factory(*args[1:])
def setFactoryFlag(factoryName, targetDir=None): """ Sets the factory type for a checkout. @param factoryName: name of factory or empty string to reset @type factoryName: string @param targetDir: directory containing package; default (C{None}) is the current directory @type targetDir: string """ if not factoryName: # convert from None to checkin's accepted '' factoryName = '' checkin.factory(factoryName, targetDir=targetDir)
def runCommand(self, cfg, argSet, args, profile = False, callback = None, repos = None): args = args[1:] if argSet or len(args) > 2: return self.usage() args[0] = repos checkin.factory(*args[1:])