Mercurial > hg-stable
changeset 5669:a0eb8a418442
patch: be more tolerant to diffstat failures (issue 865)
Sometimes, revisions cannot be represented by a regular diff, only a git diff
would capture binary files or permission changes. diffstat cannot handle git
patches and will output "0 files changed" when fed with an empty diff. We
cannot consider the latter to be an error, unless we rewrite diffstat to handle
these correctly.
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Tue, 25 Dec 2007 22:21:51 +0100 |
parents | ca4f10c76ea7 |
children | 840e2b315c1f 1127fe12202a |
files | mercurial/patch.py |
diffstat | 1 files changed, 0 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff