# HG changeset patch # User Marcin Kuzminski # Date 2013-06-04 09:09:40 # Node ID a5bccf34c5126e31bc54c01625c69260d6ad63f1 # Parent e6a3f4b414d23e5a71ec3f185ff8dc77c8cff51d fixed docs error, should be issue_pat diff --git a/docs/setup.rst b/docs/setup.rst --- a/docs/setup.rst +++ b/docs/setup.rst @@ -451,11 +451,11 @@ to define a regular expression that will messages and replace that with an url to this issue. To enable this simply uncomment following variables in the ini file:: - url_pat = (?:^#|\s#)(\w+) + issue_pat = (?:^#|\s#)(\w+) issue_server_link = https://myissueserver.com/{repo}/issue/{id} issue_prefix = # -`url_pat` is the regular expression that will fetch issues from commit messages. +`issue_pat` is the regular expression that will fetch issues from commit messages. Default regex will match issues in format of # eg. #300. Matched issues will be replace with the link specified as `issue_server_link`