[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Versioning of archive files (Open Office files)

From: Gustavo Niemeyer <niemeyer_at_conectiva.com>
Date: 2002-09-06 00:25:05 CEST

> > Is it possible to not handle archive files (like zip files) like binary
> > files?
>
> When transmitting files over a network, or storing files in the
> repository, Subversion treats *all* files like binary files. It uses
> a binary diffing algorithm to transmit and store binary differences.
>
> In the working copy, however, you can tell Subversion to treat a file
> as binary or text by setting a metadata property. Only the working
> copy has a notion of "text" vs. "binary" -- and this property
> determines whether or not contextual merges are attempted during
> updates, that's it.

I think he's looking for some kind of client-hook which uncompressed the
archive and did some operations on them. Something between merge-hooks
and client-read/write-sentinels. :-)

I'm not sure if such beast would be useful for diffing purposes, as
stated in his email, but there's a small advantage in storing those
files uncompressed, since diffing compressed data don't work very well.
OTOH, something like that would obligate everyone working with this data
to have the same client-side hooks, so this could be a task to a svn
wrapper.

-- 
Gustavo Niemeyer
[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 6 00:26:01 2002

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.