def vendor_update(ui, dest, name=None, *args, **opts): vendor = Vendor(ui) vendor.update(dest, name, *args, **opts)
def vendor_install(self, appdir, url, scm='git'): vendor = Vendor(appdir, self.ui) try: vendor.install(url, scm=scm) except VendorError, e: self.ui.logger.critical(str(e))
def vendor_install(ui, dest, source, *args, **opts): vendor = Vendor(ui) vendor.install(dest, source, *args, **opts)
def vendor_update(self, appdir): vendor = Vendor(appdir, self.ui) try: vendor.update() except VendorError, e: self.ui.logger.critical(str(e))