[Python-checkins] r88757 - tracker/instances/python-dev/extensions/local_replace.py

georg.brandl python-checkins at python.org
Sat Mar 5 17:42:38 CET 2011


Author: georg.brandl
Date: Sat Mar  5 17:42:37 2011
New Revision: 88757

Log:
Fix branch name.

Modified:
   tracker/instances/python-dev/extensions/local_replace.py

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	Sat Mar  5 17:42:37 2011
@@ -28,15 +28,15 @@
 
     # deadbeeffeed  (hashes with exactly twelve or forty chars)
     (re.compile(r'\b(?<![/?&;])(?P<revision>[a-fA-F0-9]{40})\b'),
-     r'<a href="http://hg.python.org/lookup/\g<revision>">[\g<revision>]</a>'),
+     r'<a href="http://hg.python.org/lookup/\g<revision>">\g<revision></a>'),
     (re.compile(r'\b(?<![/?&;])(?P<revision>[a-fA-F0-9]{12})\b'),
-     r'<a href="http://hg.python.org/lookup/\g<revision>">[\g<revision>]</a>'),
+     r'<a href="http://hg.python.org/lookup/\g<revision>">\g<revision></a>'),
 
     # Lib/somefile.py, Modules/somemodule.c, Doc/somedocfile.rst, ...
     (re.compile(r'(?P<sep>(?<!\w/)|(?<!\w)/)(?P<path>(?:Demo|Doc|Grammar|'
                 r'Include|Lib|Mac|Misc|Modules|Parser|PC|PCbuild|Python|'
                 'RISCOS|Tools|Objects)/[-.a-zA-Z0-9_/]+[a-zA-Z0-9]/?)'),
-     r'<a href="http://hg.python.org/cpython/file/py3k/\g<path>">\g<sep>\g<path></a>'),
+     r'<a href="http://hg.python.org/cpython/file/default/\g<path>">\g<sep>\g<path></a>'),
 ]
 
 # if the issue number is too big the db will explode -- limit it to 7 digits


More information about the Python-checkins mailing list