[Python-checkins] r59791 - tracker/instances/python-dev/extensions/local_replace.py
martin.v.loewis
python-checkins at python.org
Sun Jan 6 20:52:45 CET 2008
Author: martin.v.loewis
Date: Sun Jan 6 20:52:44 2008
New Revision: 59791
Modified:
tracker/instances/python-dev/extensions/local_replace.py
Log:
Add link to source files. Fixes the rest of #154.
Modified: tracker/instances/python-dev/extensions/local_replace.py
==============================================================================
--- tracker/instances/python-dev/extensions/local_replace.py (original)
+++ tracker/instances/python-dev/extensions/local_replace.py Sun Jan 6 20:52:44 2008
@@ -8,6 +8,8 @@
"\g<prews><a href='http://svn.python.org/view?rev=\g<revision>&view=rev'>rev\g<ws>\g<revision></a>"),
(re.compile('(?P<prews>\s+)(?P<revstr>r|r\s+)(?P<revision>\d+)'),
"\g<prews><a href='http://svn.python.org/view?rev=\g<revision>&view=rev'>\g<revstr>\g<revision></a>"),
+ (re.compile('(?P<prews>\s+)(?P<path>(Demo|Doc|Grammar|Include|Lib|Mac|Misc|Modules|Parser|PC|PCbuild|Python|RISCOS|Tools)/[-.a-zA-Z0-9]+[a-zA-Z0-9])'),
+ "\g<prews><a href='http://svn.python.org/view/python/trunk/\g<path>'>\g<path></a>"),
]
def localReplace(message):
More information about the Python-checkins
mailing list