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

Crazy 5-step plan to remove the cached pristine copy

From: Florin Iucha <florin_at_iucha.net>
Date: 2003-03-24 04:37:47 CET

0. (Might exist already) Store in the .svn admin area checksums of the
   base copies.

1. Tweak libsvn_wc/diff.c:file_diff to fetch a pristine copy from the
   server if a cached base version is not available. The downloaded
   pristine copy should be cached.

2. Add a "--no-base-copy" option to "svn checkout".

3. Add a "prepare-edit" command to "svn" that will copy the
   working copy into the base copy (if the checksums match).

4. Add a cleanup-base-copies to "svn" that will recursively remove
   the base copies from the current directory down.

5. Change the commit/merge to send the whole working copy instead
   of fetching a base copy from the server and send back the diff,
   if the .svn does not contain the base copy.

Does this sound like a plan? I am willing to work on it, if the
more experienced guys think this is a way to go.

Comments? Flames?

florin

-- 
"NT is to UNIX what a doughnut is to a particle accelerator."

  • application/pgp-signature attachment: stored
Received on Mon Mar 24 04:38:28 2003

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.