view mercurial/pure/__init__.py @ 28782:f736f98e16ca

mpatch: unify mpatchError (issue5182) The pure version was mpatch was throwing struct.error or ValueError for errors, whereas the C version was throwing an "mpatch.mpatchError". Introducing an mpatch.mpatchError into pure and using it consistently is fairly easy, but the actual form for it is mercurial.mpatch.mpatchError, so with this commit, we change the C implementation to match the naming convention too.
author timeless <timeless@mozdev.org>
date Thu, 31 Mar 2016 02:05:28 +0000
parents 28a90cdf0ca0
children
line wrap: on
line source