Don't announce as SVN if on CVS.
authorFabian Groffen <grobian@gentoo.org>
Sun, 12 Nov 2006 16:52:17 +0000 (16:52 -0000)
committerFabian Groffen <grobian@gentoo.org>
Sun, 12 Nov 2006 16:52:17 +0000 (16:52 -0000)
svn path=/main/branches/prefix/; revision=5020

bin/repoman

index d7432453f5ddcf6ea988f67c015abf9a36eae5df..47f23bc4fd733625125759728437835704e40a67 100755 (executable)
@@ -1747,7 +1747,11 @@ else:
                        except KeyboardInterrupt: 
                                exithandler()
        try:
-               commitmessage+="\n(Portage version: "+str(portage.VERSION)+"-prefix/Repoman-SVN)"
+               commitmessage+="\n(Portage version: "+str(portage.VERSION)+"-prefix/Repoman-"
+               if isCvs:
+                       commitmessage+="CVS)"
+               elif isSvn:
+                       commitmessage+="SVN)"
        except AttributeError:
                print "Failed to insert portage version in message!"
                commitmessage+="\n(Portage version: Unknown)"