mercurial/patch.py
changeset 34251 61714510220d
parent 34137 a8994d08e4a2
child 34252 c43d055ae405
--- a/mercurial/patch.py	Fri Sep 15 00:01:57 2017 -0700
+++ b/mercurial/patch.py	Sun Sep 03 16:45:33 2017 +0900
@@ -46,9 +46,7 @@
 gitre = re.compile(br'diff --git a/(.*) b/(.*)')
 tabsplitter = re.compile(br'(\t+|[^\t]+)')
 
-class PatchError(Exception):
-    pass
-
+PatchError = error.PatchError
 
 # public functions