Mercurial > hg
comparison mercurial/crecord.py @ 39350:5b92a717bfc1
rename: return error status if any rename/copy failed
Ever since 447ea621e50e (copy: propagate errors properly, 2007-12-06),
we have returned an error status if the source file did not
exist. That commit did not return error status for any other errors,
and it's unclear if that was on purpose or not. It seems to me like we
should return an error in the other cases to, so that's what this
patch does.
Differential Revision: https://phab.mercurial-scm.org/D4419
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 29 Aug 2018 09:59:08 -0700 |
parents | 00368bc0a614 |
children | 682f73fa924a |
comparison
equal
deleted
inserted
replaced
39349:534e451b6dda | 39350:5b92a717bfc1 |
---|