subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Archer <Bob.Arc...@amsi.com>
Subject RE: Update-Only Checkout Enhancement
Date Wed, 11 Dec 2013 17:16:42 GMT
> 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@siemens.com]
> Sent: Wednesday, December 11, 2013 1:44 AM
> To: Mark Kneisler; users@subversion.apache.org
> Subject: RE: Update-Only Checkout Enhancement
> 
> > -----Original Message-----
> > From: Mark Kneisler [mailto:mark.kneisler@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...

Mime
View raw message