Mercurial > hg
changeset 8541:06ace50443f6
hgcia, convert: escape backslashes in docstrings
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Thu, 21 May 2009 22:53:26 +0200 |
parents | f0733f11b566 |
children | de150a942ec8 |
files | hgext/convert/__init__.py hgext/hgcia.py |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/convert/__init__.py Thu May 21 17:36:19 2009 +0200 +++ b/hgext/convert/__init__.py Thu May 21 22:53:26 2009 +0200 @@ -144,13 +144,13 @@ single changeset. When very large files were checked in as part of a changeset then the default may not be long enough. - --config convert.cvsps.mergeto='{{mergetobranch ([-\w]+)}}' + --config convert.cvsps.mergeto='{{mergetobranch ([-\\w]+)}}' Specify a regular expression to which commit log messages are matched. If a match occurs, then the conversion process will insert a dummy revision merging the branch on which this log message occurs to the branch indicated in the regex. - --config convert.cvsps.mergefrom='{{mergefrombranch ([-\w]+)}}' + --config convert.cvsps.mergefrom='{{mergefrombranch ([-\\w]+)}}' Specify a regular expression to which commit log messages are matched. If a match occurs, then the conversion process will add the most recent revision on the branch
--- a/hgext/hgcia.py Thu May 21 17:36:19 2009 +0200 +++ b/hgext/hgcia.py Thu May 21 22:53:26 2009 +0200 @@ -16,7 +16,7 @@ # Append a diffstat to the log message (optional) #diffstat = False # Template to use for log messages (optional) -#template = {desc}\n{baseurl}/rev/{node}-- {diffstat} +#template = {desc}\\n{baseurl}/rev/{node}-- {diffstat} # Style to use (optional) #style = foo # The URL of the CIA notification service (optional)