Bug in application of encode/decode filters while merging?

Hans-Peter Oeri hp at oeri.ch
Mon Apr 12 09:17:38 CDT 2010


Hi!

While playing with encode/decode filters I learned that currently hg
aborts merges if the DEcoded file seems to be binary.

This, if I'm right, should be considered a bug: If an encode/decode
filter is applicable, hg should ENcode the file before applying a patch
and DEcode the resulting file. Anyhow relying on DEcoded files, or
worse: applying an "ENcoded" patch to a DEcoded file seems wrong.

Or am I mistaken?

HPO


More information about the Mercurial mailing list