[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: Ben Reser <ben_at_reser.org>
Date: Wed, 11 Dec 2013 21:01:44 -0800

On 12/11/13 7:16 PM, Les Mikesell wrote:
> I guess I don't understand why it couldn't be as simple as having the
> library get a pristine copy on demand if some operation needs it.

The original wc code had almost no abstraction around the pristines (as far as
I can recall, it's been a long time since I looked at it). WC-NG has more
abstraction around them than I recall (I just went and looked). There is a
function that retrieves a stream for a pristine, but it doesn't seem to be used
everywhere. There are an awful lot of places where it seems we're just passing
around the filename (many of which appear to me to be passing through several
different layers of the libraries). Someone needs to untangle this mess and
get every use of the pristine using a definitive abstraction that can then be
made to handle missing pristines. That's not a trivial task.

> Isn't there already a recovery procedure for a missing pristine file?

No there is not. You delete a pristine the working copy is busted.
Received on 2013-12-12 06:17:01 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.