diff hgeditor @ 14534:ecc79816d31e

patch: fix patchmeta/hunk synchronization in iterhunks() Synchronizing on bfile does not work on file removal where bfile is /dev/null. We match items on afile or bfile instead. The incorrect code makes iterhunks() to emit patchmeta and hunks separately in some cases. This is currently hidden by applydiff() being too tolerant when processing patchmeta, and will be fixed later.
author Patrick Mezard <pmezard@gmail.com>
date Sun, 05 Jun 2011 22:24:19 +0200
parents 2b440bb8a66b
children 1aee2ab0f902
line wrap: on
line diff