summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-18 23:31:03 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-18 23:31:03 +0000
commit00c1181422744137adab1628a129efbd0197df58 (patch)
tree313f8a9161b5fbb07c3a24be3d538c3de924628f /bin/repoman
parentSupport mercurial. Thanks to Rafael Martins <rafael@rafaelmartins.com> for (diff)
downloadportage-idfetch-00c1181422744137adab1628a129efbd0197df58.tar.gz
portage-idfetch-00c1181422744137adab1628a129efbd0197df58.tar.bz2
portage-idfetch-00c1181422744137adab1628a129efbd0197df58.zip
Invert some vcs conditionals that are specific to cvs and svn.
svn path=/main/trunk/; revision=15204
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/repoman b/bin/repoman
index c9936013..0c8335f6 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: