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

Pristine text handling - musing on what angle to take next week

From: Julian Foad <julian.foad_at_wandisco.com>
Date: Fri, 09 Apr 2010 16:48:12 +0100

I've been studying the pristine text handling, and made a bit of
progress in the update editor. There are several angles from which I
could continue:

    - Installing the new pristine during commit. (Update and commit are
the two places that need to install one, except for "copy" which
installs a copied text base in WORKING_NODE.)

    - Retrieving the pristine from the new store instead of from the old
one. For transition (while "update" puts a copy in the new store but
"commit" doesn't), I could make it look in the new store first, then go
to the old one if not found.

    - MD5 vs. SHA1 - adapting code that gives/takes MD5 sums so that it
gives/takes SHA1 sums as well or instead.

I'll think on these and look at some or all of them, but any thoughts in
the meantime?

(Greg's been telling me about plans for update to end up with calling
__global_update() which will do pretty much the whole DB and local files
steps necessary to update to a new base version. Sounds good. At the
moment we're using little DB manipulations here and there along the WC-1
code path.)

- Julian
Received on 2010-04-09 17:48:46 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.