error: make it clear that ProgrammingError is for mercurial developers
authorJun Wu <quark@fb.com>
Mon, 12 Dec 2016 08:01:52 +0000
changeset 30585 0f865311ae3f
parent 30584 be5b2098a817
child 30586 2d555d753f0e
error: make it clear that ProgrammingError is for mercurial developers The word "developer" could refer to users - people using hg are likely to be developers. Add adjectives to make it refer to mercurial developers only.
mercurial/error.py
--- a/mercurial/error.py	Tue Dec 13 14:21:36 2016 +0000
+++ b/mercurial/error.py	Mon Dec 12 08:01:52 2016 +0000
@@ -169,7 +169,7 @@
     """An exception raised during unbundling that indicate a push race"""
 
 class ProgrammingError(RuntimeError):
-    """Raised if a developer has made some mistake"""
+    """Raised if a mercurial (core or extension) developer made a mistake"""
 
 # bundle2 related errors
 class BundleValueError(ValueError):