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

Re: How to Disable Pristine Copies in svn

From: William Nagel <bill_at_stagelogic.com>
Date: 2006-08-30 16:06:21 CEST

On Aug 30, 2006, at 7:13 AM, Aamir Yaseen wrote:

> Hello everyone,
> I want to use SVN for revision control, but I have different
> repositories of different sizes ranging from 4 to 12 GB.
> My problem is that SVN is making backup of whole repository on
> client machine in the form of Pristine Copies, so it is causing
> the doubling of storage space.
>
> I have some repositories containing multiple files with size
> greater than4GB, and user can not afford to have additional 4GB for
> Pristine Copies.
>
> Can anybody suggest better alternate to save this additional storage?
> Is there anyway how I can disable this pristine copies feature? or
> any other comments
> ?

No, there isn't. The pristine copies are a fundamental part of how
Subversion handles working directories.

You do have a couple of options, though:

1) For users that aren't going to be modifying the files, they can
get them out of the repository with "svn export", which just
downloads the file or directory without creating the baggage
necessary for a working directory.

2) If users routinely work on only a subset of the repository, have
them only check out that portion as a working directory. Then they
could use "svn export" to get other portions (libraries, for
instance) that they need but won't modify. As long as individual
users aren't switching what they're working on too often and have a
fast connection to the repository this may be a workable solution.

3) Buy bigger hard drives. Disk space is cheap---much cheaper than
most commercial document management systems. This may seem like a
flippant response, but in the long run it really may be the best
solution as it will eliminate any of the "hackish" solutions above
and allow your users to work more productively (thus allowing more
money to be made from their labor, which will end up paying for the
hard drives that you bought).

4) Implement an optional "pristineless" checkout yourself. This
would be a fairly major undertaking, but you're not the first person
to ask for the feature so you may be able to find some help out there
(check the mailing list archives). If you want it implemented, this
is probably your only option. Although there are others who want
this feature, you fall into a fairly small minority and you're going
to find little to no interest or need for this feature in the current
Subversion developer pool.

-Bill

>
> Kind Regards
> Aamir Yaseen
>
> Do you Yahoo!?
> Get on board. You're invited to try the new Yahoo! Mail.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 30 16:30:39 2006

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.