Mercurial > hg
comparison tests/test-command-template.t @ 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 | 301725c3df9a |
children | a1914d214579 1f9f9b4c2923 |
comparison
equal
deleted
inserted
replaced
14533:aa12e1bbde10 | 14534:ecc79816d31e |
---|