ZIP files in working tree

Jelmer Vernooij jelmer at vernstok.nl
Thu Mar 25 16:18:41 GMT 2010


On Thu, 2010-03-25 at 16:44 +0100, Roland Mas wrote:
> Jelmer Vernooij, 2010-03-25 16:28:54 +0100 :
> [...]
> 
> > Would you like "bzr st" to report on the fact that only a single file in
> > a zip file has changed?
> >
> > If so, is there any reason not to just include the contents of that
> > file in the working tree rather than using a zip file?
> 
>   Well, if the zip file is an Openoffice doc, it's better if Openoffice
> can still open it as a zip file (I'm not sure it can handle docs spread
> out over their component files).  However, having bzr st tell me that
> only the meta.xml file has changed in there, and having bzr diff show
> the changes in that sub-file, would be more useful than "foo.odt has
> changed, and I won't show you the diff between the two versions of the
> binary file".
It seems more useful in that case though to consider the odt file as a
OpenOffice document and have OpenOffice give you a sensible diff, rather
than printing the textual diff of one of the files in the zip file.

Cheers,

Jelmer



More information about the bazaar mailing list