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

RE: binaries in WC

From: Bolstridge, Andrew <andy.bolstridge_at_intergraph.com>
Date: Tue, 4 Aug 2009 11:43:30 +0100

> -----Original Message-----
> From: Stefan Sperling [mailto:stsp_at_elego.de]
> Sent: Tuesday, August 04, 2009 11:36 AM
> To: Bolstridge, Andrew
> Cc: dev_at_subversion.tigris.org
> Subject: Re: binaries in WC
>
> On Tue, Aug 04, 2009 at 11:19:30AM +0100, Bolstridge, Andrew wrote:
> > Hi.
> > I was thinking about how binaries are stored in the WC.
> > Currently, checkout any WC and you get a copy of the files in the
> > metadata directories, which is fine for things like source files and
> > other text files, but when people come to store binaries in their
> > repositories, this starts to be a nuisance.
> >
> > Storing binaries, I hope, isn't controversial. I do it for
> > shipped releases, but also store word documents, images and similar.
> >
> > Thinking about why a copy of each file is stored locally, it
> > makes perfect sense for text, as you can perform certain operations
> > really quickly - diff for example. However, I'm not sure these
> > operations can be reasonably applied to binary files?
>
> There is also 'svn revert'.

If only you'd read the whole post first :)

>
> Of course, the base-text is always just a cache for something already
> in the repository. But when Subverion was designed, being able to
revert
> local changes without having to contact the repository was seen as an
> advantage over CVS. The new working library might eventually make
> text-bases optional, but it's not a primary concern right now because
> development of the new working copy code is still in its early stages.
>
> Stefan

Yes, I know, I just wanted to flag it up as an idea while the guys were
doing their design work. I'm not sure how it would be implemented, or
configured, they might think a new svn property is worth the effort to
prevent the metadata copy for some files.

I think the benefits may well outweigh the (only?) problem of not being
able to revert a binary while disconnected from the server.

Cheers, Andy

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2379951
Received on 2009-08-04 12:43:48 CEST

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