You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Kent Rollins <ke...@gmail.com> on 2011/07/25 19:29:53 UTC
configure subversion for no history
Is there a way to configure Subversion to *not* store a history on
certain files? I have a few people checking in some large binaries
and we really don't need to store history on them. We only need the
last committed version of the file. The repository is growing
unnecessarily large.
Kent
Re: configure subversion for no history
Posted by Thorsten Schöning <ts...@am-soft.de>.
Guten Tag Kent Rollins,
am Montag, 25. Juli 2011 um 19:29 schrieben Sie:
> Is there a way to configure Subversion to *not* store a history on
> certain files?
No.
> I have a few people checking in some large binaries
> and we really don't need to store history on them. We only need the
> last committed version of the file. The repository is growing
> unnecessarily large.
Which version of Subversion are you using on the server side and what
does those large files look like or of what type are they? Subversion
compresses files, creates diffs and starting with version 1.6(?) is
able to deduplicate commits by default. I have some repositories where
I commit MSI-installers and all stuff of binary files for one of our
applications and Subversion 1.6 saved GB of space.
Mit freundlichen Grüßen,
Thorsten Schöning
--
Thorsten Schöning
AM-SoFT IT-Systeme - Hameln | Potsdam | Leipzig
Telefon: Potsdam: 0331-743881-0
E-Mail: tschoening@am-soft.de
Web: http://www.am-soft.de
AM-SoFT GmbH IT-Systeme, Konsumhof 1-5, 14482 Potsdam
Amtsgericht Potsdam HRB 21278 P, Geschäftsführer: Andreas Muchow
Re: configure subversion for no history
Posted by Nico Kadel-Garcia <nk...@gmail.com>.
On Mon, Jul 25, 2011 at 1:29 PM, Kent Rollins <ke...@gmail.com> wrote:
> Is there a way to configure Subversion to *not* store a history on
> certain files? I have a few people checking in some large binaries
> and we really don't need to store history on them. We only need the
> last committed version of the file. The repository is growing
> unnecessarily large.
The short answer from my experience is "no". Eliminating the old
histories, or even expired tags that might have such binaries, is not
supported. Histories are considered quite important, and efforts to
discard them or even to eliminate inappropriately stored binaries or
private data have proven to be very awkward. (Look up the old "svn
obliterate" feature requests for some history on that.)
A better approach to this might be to use "svn:externals" to point to
a separate repository, or set of repositories, which can be updated
and discarded as necessary.
Re: configure subversion for no history
Posted by Ryan Schmidt <su...@ryandesign.com>.
On Jul 25, 2011, at 12:29, Kent Rollins wrote:
> Is there a way to configure Subversion to *not* store a history on
> certain files?
Definitely not. Storing history is the primary purpose of Subversion. If you don't want history, Subversion may not be the right tool for you.