From 424465b92f4b351489e3624352494e72c0f1a873 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Tue, 19 Jan 2010 00:00:41 +0000 Subject: Fix Manifest commit logic for cvs and svn. Thanks to Rafael Martins . svn path=/main/trunk/; revision=15205 --- bin/repoman | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'bin') diff --git a/bin/repoman b/bin/repoman index 0c8335f6d..5f46c15fb 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: -- cgit v1.2.3-1-g7c22