diff options
author | Zac Medico <zmedico@gentoo.org> | 2010-01-18 23:31:03 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2010-01-18 23:31:03 +0000 |
commit | 00c1181422744137adab1628a129efbd0197df58 (patch) | |
tree | 313f8a9161b5fbb07c3a24be3d538c3de924628f | |
parent | d004f5e62ca533c39eea2f2dcba6a516e1844916 (diff) | |
download | portage-00c1181422744137adab1628a129efbd0197df58.tar.gz portage-00c1181422744137adab1628a129efbd0197df58.tar.bz2 portage-00c1181422744137adab1628a129efbd0197df58.zip |
Invert some vcs conditionals that are specific to cvs and svn.
svn path=/main/trunk/; revision=15204
-rwxr-xr-x | bin/repoman | 6 |
1 files changed, 3 insertions, 3 deletions
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: |