subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1850264 - /subversion/site/tools/escape.py
Date Thu, 03 Jan 2019 20:13:15 GMT
Author: danielsh
Date: Thu Jan  3 20:13:15 2019
New Revision: 1850264

URL: http://svn.apache.org/viewvc?rev=1850264&view=rev
Log:
* tools/escape.py: Annotate the generated output as such.

Modified:
    subversion/site/tools/escape.py

Modified: subversion/site/tools/escape.py
URL: http://svn.apache.org/viewvc/subversion/site/tools/escape.py?rev=1850264&r1=1850263&r2=1850264&view=diff
==============================================================================
--- subversion/site/tools/escape.py (original)
+++ subversion/site/tools/escape.py Thu Jan  3 20:13:15 2019
@@ -9,6 +9,7 @@ import re
 revision_numbers = re.compile(r'r(\d+)')
 issue_references = re.compile(r'((?:SVN-|issue [#]?)(\d+))')
 
+print("<!-- Automatically generated by ^/subversion/site/tools/escape.py -->")
 for line in fileinput.input():
     line = html.escape(line)
     line = revision_numbers.sub(r'<a href="https://svn.apache.org/r\1">r\1</a>',
line)



Mime
View raw message