summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-19 00:00:41 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-19 00:00:41 +0000
commit424465b92f4b351489e3624352494e72c0f1a873 (patch)
tree2bb44f6b60a00bb9e897daf791b7c87d0510b2ca /bin/repoman
parentInvert some vcs conditionals that are specific to cvs and svn. (diff)
downloadportage-idfetch-424465b92f4b351489e3624352494e72c0f1a873.tar.gz
portage-idfetch-424465b92f4b351489e3624352494e72c0f1a873.tar.bz2
portage-idfetch-424465b92f4b351489e3624352494e72c0f1a873.zip
Fix Manifest commit logic for cvs and svn. Thanks to Rafael Martins
<rafael@rafaelmartins.com>. svn path=/main/trunk/; revision=15205
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/repoman b/bin/repoman
index 0c8335f6..5f46c15f 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -2485,12 +2485,12 @@ else:
commit_cmd.extend(vcs_global_opts)
commit_cmd.append("commit")
commit_cmd.extend(vcs_local_opts)
- if vcs in ('git', 'bzr'):
- commit_cmd.extend(["-F", commitmessagefile])
- commit_cmd.extend(f.lstrip("./") for f in myfiles)
- elif vcs == "hg":
+ if vcs == "hg":
commit_cmd.extend(["--logfile", commitmessagefile])
commit_cmd.extend(myfiles)
+ else:
+ commit_cmd.extend(["-F", commitmessagefile])
+ commit_cmd.extend(f.lstrip("./") for f in myfiles)
try:
if options.pretend: