summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <gentoo@mgorny.alt.pl>2010-07-11 12:53:20 +0200
committerZac Medico <zmedico@gentoo.org>2010-07-11 11:27:32 -0700
commite8ef39e89dabf2f9ebc578fcb97a3f157e07ec34 (patch)
tree33a48e5642d1c8116e03420fa963efe1526a4559 /bin/repoman
parentPass '--relative' to 'git diff-index'. (diff)
downloadportage-multirepo-e8ef39e89dabf2f9ebc578fcb97a3f157e07ec34.tar.gz
portage-multirepo-e8ef39e89dabf2f9ebc578fcb97a3f157e07ec34.tar.bz2
portage-multirepo-e8ef39e89dabf2f9ebc578fcb97a3f157e07ec34.zip
Make the commitmessage append clearer.
Put an empty line between the real commit message and Portage version append. Instead of creating a second pair of parenthesis for the Manifest commit one, append it to the Portage version.
Diffstat (limited to 'bin/repoman')
-rwxr-xr-xbin/repoman9
1 files changed, 5 insertions, 4 deletions
diff --git a/bin/repoman b/bin/repoman
index 750bc666..f14dc453 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -2270,7 +2270,7 @@ else:
unameout += platform.processor()
else:
unameout += platform.machine()
- commitmessage += "\n(Portage version: %s/%s/%s" % \
+ commitmessage += "\n\n(Portage version: %s/%s/%s" % \
(portage_version, vcs, unameout)
if options.force:
commitmessage += ", RepoMan options: --force"
@@ -2525,11 +2525,12 @@ else:
fd, commitmessagefile = tempfile.mkstemp(".repoman.msg")
mymsg = os.fdopen(fd, "w")
- mymsg.write(commitmessage)
+ # strip the closing parenthesis
+ mymsg.write(commitmessage[:-1])
if signed:
- mymsg.write("\n (Signed Manifest commit)")
+ mymsg.write(", signed Manifest commit)")
else:
- mymsg.write("\n (Unsigned Manifest commit)")
+ mymsg.write(", unsigned Manifest commit)")
mymsg.close()
commit_cmd = []