From 00c1181422744137adab1628a129efbd0197df58 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 18 Jan 2010 23:31:03 +0000 Subject: Invert some vcs conditionals that are specific to cvs and svn. svn path=/main/trunk/; revision=15204 --- bin/repoman | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/repoman') diff --git a/bin/repoman b/bin/repoman index c99360135..0c8335f6d 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: -- cgit v1.2.3-1-g7c22