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.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG5b92a717bfc1: rename: return error status if any rename/copy failed
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
tests/test-rename.t | ||
---|---|---|
343 | Not sure how I feel about this one. There are few operations which succeed and few which does not. |
Not sure how I feel about this one. There are few operations which succeed and few which does not.