hg-zipdoc extension
Steve (Gadget) Barnes
gadgetsteve at hotmail.com
Fri Jun 24 16:45:34 UTC 2016
On 24/06/2016 11:48, Uwe Brauer wrote:
> The following message is a courtesy copy of an article
> that has been posted to gmane.comp.version-control.mercurial.general as well.
>
>
> > On 23/06/2016 16:39, Uwe Brauer wrote:
> > Uwe,
>
> > hg diff -r 3 -r 0
>
> > Will give you the diff between revision 0 and 3 which is changes that
> > happened in May 2005.
>
> I don't understand. I created a new fresh rep, I added a odt file
> I edited and commited, edited and commite
>
> Here are some parts of log
>
> hg log
> changeset: 3:6ac3c05c2678
> user: Uwe Brauer <oub at mat.ucm.es>
> date: Thu Jun 23 15:19:39 2016 +0000
> summary: test the extension2
>
> changeset: 2:243d3d9a8be7
> user: Uwe Brauer <oub at mat.ucm.es>
> date: Thu Jun 23 12:43:03 2016 +0000
> summary: last one
>
> changeset: 1:14d04d09b90e
> user: Uwe Brauer <oub at mat.ucm.es>
> date: Thu Jun 23 12:42:18 2016 +0000
> summary: More
>
> changeset: 0:1fd82649bbf9
> user: Uwe Brauer <oub at mat.ucm.es>
> date: Thu Jun 23 12:41:24 2016 +0000
> summary: New changes
>
> So I don't see what this has to do with may 2005?
>
> I started again, a new fresh hg, one odt file added. Edit comit edit
> comit
> and then
>
>
>
> /home/oub/src/hg-stable/hg diff -r 2 -r 1
>
> And I obtain
>
> /home/oub/src/hg-stable/hg diff -r 2 -r 1
> diff -r ca1b41bb230f -r 24c0ec97bec7 testoo.odt
> Binary file testoo.odt has changed
>
>
> What do I miss? It seems that the extension is not doing anything.
> _______________________________________________
> Mercurial mailing list
> Mercurial at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial
>
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
--
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