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

Re: Keep only one copy of each unique file in the repository

From: MrR08040 <MrR08040_at_gmail.com>
Date: 2007-02-09 14:28:32 CET

Hi Ryan,

Thanks for the response. My comments are in-line below:

On 2/8/07, Ryan Schmidt <subversion-2007a@ryandesign.com> wrote:
>
> No, I haven't heard any discussion of this before. You would like for
> Subversion to store only a single copy, to save disk space?

Yes. Disk space savings is the purpose.

> Subversion doesn't store complete files; it stores deltas against
> previous revisions. So the only case in which this would help is if
> you add two files of the same contents. It wouldn't help, for
> example, if you have two files, make different edits to each, and
> eventually arrive at two files that are the same.

Correct.

> The Subversion way to add two files of the same contents and store it
> in the repository only once is to "svn add" the one, then "svn cp" it
> to the other.

Yes, that's what I would do if I were using using the "normal" svn
client tools. But I would like to use svn's WebDAV feature to mount a
repository as a filesystem to store all my files in it. I probably
have lots of duplicate files in my "unsorted" directory and for me it
be great if svn just stored one copy of each unique file.

OT: Anyone have a better idea for managing their duplicate files and
keeping history of edits to documents automatically in lieu of using
svn's WebDAV capabilities?

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Feb 9 14:29:06 2007

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

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