# HG changeset patch # User Martin Geisler # Date 2009-05-21 20:53:26 # Node ID 06ace50443f65e70f84e4b9506c454dd6a5b5cff # Parent f0733f11b566539b6fd2594be2748ab26cd3f05f hgcia, convert: escape backslashes in docstrings diff --git a/hgext/convert/__init__.py b/hgext/convert/__init__.py --- a/hgext/convert/__init__.py +++ b/hgext/convert/__init__.py @@ -144,13 +144,13 @@ def convert(ui, src, dest=None, revmapfi 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 diff --git a/hgext/hgcia.py b/hgext/hgcia.py --- a/hgext/hgcia.py +++ b/hgext/hgcia.py @@ -16,7 +16,7 @@ project = foo # 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)