def check_scm_status(): print(yellow("check version control status...")) scm = Scm(os.getcwd()) status = scm.get_status() for name in status: if name not in ('setup.py',): abort('The following files have not been committed: {0}'.format(status))
def commit_and_tag(version): print(yellow("version control - commit and tag...")) scm = Scm(os.getcwd()) scm.commit_and_tag(version)
def get_scm_config(): print(yellow("get version control config...")) scm = Scm(os.getcwd()) return scm.get_config()