From c965e9057de36b9fccbc63101acbe6050fbf09e4 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 29 Jan 2010 18:49:48 +0000 Subject: [PATCH] Invert some vcs conditionals that are specific to cvs and svn. (trunk r15204) svn path=/main/branches/2.1.7/; revision=15257 --- bin/repoman | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/repoman b/bin/repoman index 12687f4a8..fd3c519a3 100755 --- a/bin/repoman +++ b/bin/repoman @@ -492,7 +492,7 @@ elif os.path.isdir(os.path.join(portdir_overlay, ".hg")): vcs_local_opts = repoman_settings.get("REPOMAN_VCS_LOCAL_OPTS", "").split() vcs_global_opts = repoman_settings.get("REPOMAN_VCS_GLOBAL_OPTS") if vcs_global_opts is None: - if vcs not in ("git", "bzr", "hg"): + if vcs in ('cvs', 'svn'): vcs_global_opts = "-q" else: vcs_global_opts = "" @@ -2223,7 +2223,7 @@ else: commitmessage += ", RepoMan options: --force" commitmessage += ")" - if vcs not in ['git', 'bzr', 'hg'] and (myupdates or myremoved): + if vcs in ('cvs', 'svn') and (myupdates or myremoved): myfiles = myupdates + myremoved if not myheaders and "sign" not in repoman_settings.features: myfiles += mymanifests @@ -2316,7 +2316,7 @@ else: write_atomic(x, "".join(mylines)) manifest_commit_required = True - if vcs not in ['git', 'bzr', 'hg'] and (myupdates or myremoved): + if vcs in ('cvs', 'svn') and (myupdates or myremoved): myfiles = myupdates + myremoved for x in range(len(myfiles)-1, -1, -1): if myfiles[x].count("/") < 4-repolevel: -- 2.26.2