You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by hd...@apache.org on 2013/01/14 10:37:08 UTC

svn commit: r1432851 - /openoffice/devtools/scripts/svnlog2info.py

Author: hdu
Date: Mon Jan 14 09:37:07 2013
New Revision: 1432851

URL: http://svn.apache.org/viewvc?rev=1432851&view=rev
Log:
only testers and committers need to care about parsable issue numbers

Modified:
    openoffice/devtools/scripts/svnlog2info.py

Modified: openoffice/devtools/scripts/svnlog2info.py
URL: http://svn.apache.org/viewvc/openoffice/devtools/scripts/svnlog2info.py?rev=1432851&r1=1432850&r2=1432851&view=diff
==============================================================================
--- openoffice/devtools/scripts/svnlog2info.py (original)
+++ openoffice/devtools/scripts/svnlog2info.py Mon Jan 14 09:37:07 2013
@@ -169,11 +169,12 @@ def revs2info( htmlname, detail_level, a
 			else:
 				color = None
 
+			idstr = ("#i%d#" if (detail_level >= 3) else "%d") % (idnum)
 			line = "<tr>"
 			if bug_url:
-				line += "<td><a href=\"%s\">#i%d#</a></td>" % (bug_url, idnum)
+				line += "<td><a href=\"%s\">%s</a></td>" % (bug_url, idstr)
 			else:
-				line += "<td>#i%d#</td>" % (idnum)
+				line += "<td>%s</td>" % (idstr)
 			if detail_level >= 5:
 				line += "<td>%s</td>" % (priority)
 			line += "<td>%s</td>" % (bug_type)