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

RE: Update-Only Checkout Enhancement

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Wed, 11 Dec 2013 17:16:42 +0000

> Yes, I understand the export function. I want functionality for release
> management into test and production environments.
>
> For these environments I have a few requirements:
> Files in these environments will NEVER be edited
> For new releases I will need to perform an update to revision, which
> will add, update and delete needed files
> I want as small of a .svn directory as possible

Why? Disk is cheap. Much cheaper than the time it would take to modify svn to work the way you are requesting. Heck, I just bought a 1TB SSD for ~$500. The spinning version was about $120.

I would recommend you write a script that does an export rather than using the update feature. Although, this would probably mean the task would take longer, since you don't have the benefit of the .svn pristines to know what changed files need to be requested from the server. But, it sounds like you care more about disk space than network traffic and/or time. Of course, that is your decision to make.

>
> I'm fairly certain that this functionality is currently not present, but I think
> there are many installations where this would be valuable.
>
> I'd like to create an enhancement request, but according to the website it
> was recommended that I post to this mailing list first.
>
> -----Original Message-----
> From: Cooke, Mark [mailto:mark.cooke_at_siemens.com]
> Sent: Wednesday, December 11, 2013 1:44 AM
> To: Mark Kneisler; users_at_subversion.apache.org
> Subject: RE: Update-Only Checkout Enhancement
>
> > -----Original Message-----
> > From: Mark Kneisler [mailto:mark.kneisler_at_tceq.texas.gov]
> > Sent: 11 December 2013 01:45
> >
> > I have several environments where I'd like to use a SVN checkout, but
> > where I'd never ever want to make changes to the files or perform a
> > commit. For these environments, I'd only want to perform an update or
> > an update to revision.
> >
> > I'm hoping that this type of checkout would require far less space for
> > the .svn directory.
> >
> AFAIK there is no such option for a "checkout", however, you can get the
> source without the .svn folder using the "export" command:-
>
> http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.export.html
>
> ...you can specify the revision etc. Note, however, that it will not remove
> unwanted files like an update can.
>
> ~ mark c
>
> P.s. I think Thorsten just beat me to it...
Received on 2013-12-11 18:17:36 CET

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.