Mercurial > hg
diff setup.py @ 30078:173bdb502503
import: abort instead of crashing when copy source does not exist (issue5375)
Previously, when a patch contained a move or copy from a source that did not
exist, `hg import` would crash. This patch changes import to raise a PatchError
with an explanantion of what is wrong with the patch to avoid the stack trace
and bad user experience.
author | Ryan McElroy <rmcelroy@fb.com> |
---|---|
date | Sat, 08 Oct 2016 05:26:58 -0700 |
parents | a8933d992a71 |
children | 9cc438bf7d9a |