On Thu, Jun 18, 2009 at 3:06 PM, Scott Genevish<scott.genev...@theice.com> wrote: > When I right-click on a changed file and select "Commit...", the resulting > window says, "this modifies a binary file (all or nothing)". > > The file in question is not binary, it's a plain-text VBScript file. How > can I fix this? I tried adding this in the hgrc file (with no effect): > > [defaults] > diff = -a > > I'm new to TortoiseHG, and Mercurial in general, so forgive me if I ask > questions that can be answered elsewhere (I have checked the list archive > and a few FAQ's).
This isn't in a FAQ that I know of. Mercurial decides a file is binary if it finds any NULs (0 bytes) in the file. This has a tendency to label PDFs and UTF-16 files as binary. There is no workaround for this that I know of, save switching to UTF-8. -- Steve Borho ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Tortoisehg-discuss mailing list Tortoisehg-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss