Converting binary<->textual - what to do (hooks?, extension?, custom merge?)

Bryan O'Sullivan bos at serpentine.com
Wed Feb 6 10:25:01 CST 2008


Marcin Kasperski wrote:

> In such a situation it is really tempting to version-control the
> exported (textual) version instead of native binary.

This is exactly the sort of thing that the encode and decode hooks
should be able to help with.

However, it may not help with merging, as a merge takes place in the
working directory, by which time the decode hook will already have been
applied.

For more details, see the hgrc man page.

	<b


More information about the Mercurial mailing list