[PATCH 2 of 9 sethelp] error: update docstring on ParseError

Augie Fackler raf at durin42.com
Wed Feb 4 12:15:07 CST 2015


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1422300612 18000
#      Mon Jan 26 14:30:12 2015 -0500
# Node ID 31f51746469a974042b75e32095e20b565bba8f4
# Parent  72b6bb087893acf2cd24dc787d9128ac588d5aa6
error: update docstring on ParseError

It's now used by revsets and filesets.

diff --git a/mercurial/error.py b/mercurial/error.py
--- a/mercurial/error.py
+++ b/mercurial/error.py
@@ -61,7 +61,7 @@ class OutOfBandError(Exception):
     """Exception raised when a remote repo reports failure"""
 
 class ParseError(Exception):
-    """Exception raised when parsing config files (msg[, pos])"""
+    """Raised when parsing config files and {rev,file}sets (msg[, pos])"""
 
 class RepoError(Exception):
     def __init__(self, *args, **kw):


More information about the Mercurial-devel mailing list