summaryrefslogtreecommitdiffstats
path: root/bin/repoman
diff options
context:
space:
mode:
authorAlec Warner <antarus@gentoo.org>2006-04-03 13:40:56 +0000
committerAlec Warner <antarus@gentoo.org>2006-04-03 13:40:56 +0000
commit3c22641ed1f098db8e0f9c7e7828d0c66b42b253 (patch)
tree803248208e4a5c40d0c84469bb3355e82f90e089 /bin/repoman
parent082e79d5a81f4a93b7d55beed44d9c920418dcd6 (diff)
downloadportage-3c22641ed1f098db8e0f9c7e7828d0c66b42b253.tar.gz
portage-3c22641ed1f098db8e0f9c7e7828d0c66b42b253.tar.bz2
portage-3c22641ed1f098db8e0f9c7e7828d0c66b42b253.zip
Fix ordering in cvs calls to be correct, thanks to exg for the fix (again)
svn path=/main/trunk/; revision=3066
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman12
1 files changed, 6 insertions, 6 deletions
diff --git a/bin/repoman b/bin/repoman
index f72996e15..bd0e0655b 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -1567,14 +1567,14 @@ else:
print green("------------------------------------------------------------------------------")
print
+ retval = None
if "--pretend" in myoptions:
- print "(/usr/bin/cvs -q commit "+string.join(myupdates," ")+" -F "+commitmessagefile+")"
- retval=0
+ print "(/usr/bin/cvs -q commit -F "+ commitmessagefile +" "+ string.join(myupdates," ")"+")"
else:
- retval=os.system("/usr/bin/cvs -q commit "+string.join(myupdates, " ")+" -F "+commitmessagefile)
- if retval:
- print "!!! Exiting on cvs (shell) error code:",retval
- sys.exit(retval)
+ retval=os.system("/usr/bin/cvs -q commit -F "+ commitmessagefile + " " +string.join(myupdates, " "))
+ if retval:
+ print "!!! Exiting on cvs (shell) error code:",retval
+ sys.exit(retval)
# Setup the GPG commands
def gpgsign(filename):