From: Fabian Groffen Date: Wed, 6 Dec 2006 19:41:51 +0000 (-0000) Subject: Pimp Repoman version thingy such that I can better see where I did what. X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=9e1eb7302f4b9ed684755f9af8bafda1ba4732b6;p=portage.git Pimp Repoman version thingy such that I can better see where I did what. svn path=/main/branches/prefix/; revision=5181 --- diff --git a/bin/repoman b/bin/repoman index 12a53b300..3c980ac9c 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1764,11 +1764,13 @@ else: except KeyboardInterrupt: exithandler() try: - commitmessage+="\n(Portage version: "+str(portage.VERSION)+"-prefix/Repoman-" + unameout=commands.getstatusoutput("uname -srp")[1] + commitmessage+="\n(Portage "+str(portage.VERSION)+"-prefix/" if isCvs: - commitmessage+="CVS)" + commitmessage+="CVS" elif isSvn: - commitmessage+="SVN)" + commitmessage+="SVN" + commitmessage+="/"+unameout+")" except AttributeError: print "Failed to insert portage version in message!" commitmessage+="\n(Portage version: Unknown)"