binary files
Bryan O'Sullivan
bos at serpentine.com
Tue Jul 12 03:41:07 UTC 2005
On Tue, 2005-07-12 at 10:36 +0800, Soh Tk-r28629 wrote:
> How does Hg handler binary files?
It currently treats all files as binary.
> Would I be able to check in changes on binary files,
Yes.
> then do export and import?
No. Export and import work in terms of unified diffs. diff can't
handle binary data.
While it's fairly safe to work with unified diffs on text files, which
can be applied to a different revision than they were generated with and
visually inspected for sanity, the same is not true at all of binary
files in general.
If you're dealing with binaries, you should probably work solely in
terms of pushes and pulls, and you'll need to resolve conflicts by hand.
<b
More information about the Mercurial
mailing list