Skip to content

Commit

Permalink
Fix revlink documentation.
Browse files Browse the repository at this point in the history
The documentation incorrectly used basic rather than python regexes.
  • Loading branch information
tomprince committed Nov 29, 2012
1 parent 498375d commit b8634e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion master/docs/manual/cfg-global.rst
Expand Up @@ -600,7 +600,7 @@ The results are the substituted into the replacement text, along with the revisi
::

from buildbot import revlinks
c['revlink'] = revlinks.RevlinkMatch([r'git://notmuchmail.org/git/\(.*\)'],
c['revlink'] = revlinks.RevlinkMatch([r'git://notmuchmail.org/git/(.*)'],
r'http://git.notmuchmail.org/git/\1/commit/%s')

:class:`buildbot.revlinks.RevlinkMultiplexer` takes a list of revision link callables, and tries each in turn, returning the first successful match.
Expand Down

0 comments on commit b8634e4

Please sign in to comment.