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

Re: Incomplete checkout

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: 2006-03-23 20:46:45 CET

On 3/23/2006 2:06 PM, Emily Stumpf wrote:
> Hello,
>
> We have a subversion 1.3 server running, that is mostly great. However,
> recently I've received some complaints on a particular repository (its
> folder is about 20MB) of incomplete checkouts/exports. They went to
> checkout, and when they tried to compile their code, they realized not
> all of the files were present, and had to check out a few times. This
> does not happen all the time, but it does happen some of the time. I
> was wondering if anyone knew of a similar problem, and what I might be
> able to check or do to fix it.
> Thanks for any info!

I don't know my way around the bug repository so I can't report a bug
number, but it's a well-known complaint that checkouts are *not* atomic.
  If you interrupt a checkout, or the server goes down in the middle of
one, or something else bad happens, then you can be left with a partial
checkout.

I think this can usually be detected and fixed by trying to update
immediately after checking out; that would normally do nothing, but if
the checkout was incomplete, it should pick up the missing files.
Unfortunately, updates have the same non-atomicity, so it's possible
lightning will strike you twice and you'll still have a bad working copy
after the update.

Duncan Murdoch

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 23 20:49:44 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.