def run(self, repo, args): repo = squash.create_repo(args.path, args.db) self.log("# New squash repo created: %s\n", repo.path)
def setup(): global client primary = squash.create_repo('.primary') spawn(primary.serve, ('localhost', 4001)) client = Client( 4001 ) sleep(.1)