From 89163087db88fc5aa43bf5adfbbd9d983729e569 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 29 Jan 2010 18:49:58 +0000 Subject: [PATCH] Fix Manifest commit logic for cvs and svn. Thanks to Rafael Martins . (trunk r15205) svn path=/main/branches/2.1.7/; revision=15258 --- bin/repoman | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/repoman b/bin/repoman index fd3c519a3..442fb83d8 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: -- 2.26.2