summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-29 18:49:48 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-29 18:49:48 +0000
commitc965e9057de36b9fccbc63101acbe6050fbf09e4 (patch)
tree1a42382769b9ba795493973ac0431c45baa76bca
parent311e7c1f881a09d7679dabc33dca00d9629409cb (diff)
downloadportage-c965e9057de36b9fccbc63101acbe6050fbf09e4.tar.gz
portage-c965e9057de36b9fccbc63101acbe6050fbf09e4.tar.bz2
portage-c965e9057de36b9fccbc63101acbe6050fbf09e4.zip
Invert some vcs conditionals that are specific to cvs and svn. (trunk r15204)
svn path=/main/branches/2.1.7/; revision=15257
-rwxr-xr-xbin/repoman6
1 files 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: