changeset 30590:0f865311ae3f

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.
author Jun Wu <quark@fb.com>
date Mon, 12 Dec 2016 08:01:52 +0000
parents be5b2098a817
children 2d555d753f0e
files mercurial/error.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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):