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

login
register
mail settings
Submitter Augie Fackler
Date Feb. 4, 2015, 6:15 p.m.
Message ID <31f51746469a974042b7.1423073707@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/7660/
State Accepted
Commit 7f375d2de945e0e773541773db9c334f9e9f75c6
Headers show

Comments

Augie Fackler - Feb. 4, 2015, 6:15 p.m.
# HG changeset patch
# User Augie Fackler <augie@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.
Matt Mackall - Feb. 4, 2015, 10:26 p.m.
On Wed, 2015-02-04 at 13:15 -0500, Augie Fackler wrote:
> # HG changeset patch
> # User Augie Fackler <augie@google.com>
> # Date 1422300612 18000
> #      Mon Jan 26 14:30:12 2015 -0500
> # Node ID 31f51746469a974042b75e32095e20b565bba8f4
> # Parent  72b6bb087893acf2cd24dc787d9128ac588d5aa6
> error: update docstring on ParseError

I've queued these first two, thanks.

Patch

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):