hg-zipdoc extension
Steve (Gadget) Barnes
gadgetsteve at hotmail.com
Sat Jun 25 20:55:42 UTC 2016
Checking the documents I found a section that may help - if you don't
specify -a the only information that you get is that the binary, (zip),
file has changed:
5.2. Viewing the document's XML text in diff
When using the diff command specifying the -a (or --text) option will
tell Mercurial to treat the file as text. This way you are able to see
the changes to the XML that are contained in the uncompressed zip stored
in the repository. Note that this does not work if git style diff is used.
On 25/06/2016 20:24, Uwe Brauer wrote:
>
> > On 24/06/2016 11:48, Uwe Brauer wrote:
>
> > Sorry I thought that you had been running hg diff on the hg source
> > repository not your test repository. Have you configured hg for .odt
> > files to be handled by the zipdoc extension - it doesn't do anything to
> > file types that it hasn't been explicitly told to handle. My global hg
> > config, c:\Users\UserName\mercurial.ini on my home machine, includes a
> > section that reads:
>
>
> > # Zipdoc Configuration
> > [encode]
> > **.docx = zipdocencode
> > **.docm = zipdocencode
> > **.dotx = zipdocencode
> > **.dotm = zipdocencode
> > **.odt = zipdocencode
> > **.xlsx = zipdocencode
> > **.zip = zipdocencode
>
> > [decode]
> > **.docx = zipdocdecode
> > **.docm = zipdocdecode
> > **.dotx = zipdocdecode
> > **.dotm = zipdocdecode
> > **.odt = zipdocdecode
> > **.xlsx = zipdocdecode
> > **.zip = zipdocdecode
>
> That is also the setting I use. What does diff show you in a similar case?
>
> Uwe
>
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
--
Steve (Gadget) Barnes
Any opinions in this message are my personal opinions and do not reflect
those of my employer.
More information about the Mercurial
mailing list