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

Re: OpenOffice.Org / StarOffice Files

From: Ben Reser <ben_at_reser.org>
Date: 2004-04-14 20:25:55 CEST

On Wed, Apr 14, 2004 at 09:45:04AM -0400, Sir Woody Hackswell wrote:
> Hello! I was wondering how svn does with OOO/StarOffice files. To SVN,
> they're binary, but I'm guessing that inside the zip file, very little
> changes, and could very easily be deltified. Is there a good way to version
> these files as text/xml and not as zip files?

This would probably be handled by the collections functionality that
people have desired that we add. I'd imagine you'd extract the zip file
to a directory of the name of the OOo file. And then whenever you want
to modify the file you'd use a tool that put the file back together,
edit, and then puts it back into the working copy.

However, I suppose if you're going to have to script the zip file thing
you probably don't even need collections. You can just script the add
and deletes yourself.

See issue 707 for more details on collections and issue 1152 on why
you're unlikely to see subversion directly handling the zip files for
you:
http://subversion.tigris.org/issues/show_bug.cgi?id=707
http://subversion.tigris.org/issues/show_bug.cgi?id=1152

-- 
Ben Reser <ben@reser.org>
http://ben.reser.org
"Conscience is the inner voice which warns us somebody may be looking."
- H.L. Mencken
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Apr 14 20:28:00 2004

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.