binary files

Soh Tk-r28629 tksoh at freescale.com
Wed Jul 13 00:44:26 UTC 2005


> 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.

Being distributed, push and pull (or even ssh or http) support aren't always available, especially for cross-site development. In this case, emails maybe the only available communication channel.

Perhaps this stresses the importance of having the send/receive commands.




More information about the Mercurial mailing list