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

Re: Towards a Shelving MVP

From: Branko ─îibej <brane_at_apache.org>
Date: Tue, 29 Aug 2017 13:19:38 +0200

On 28.08.2017 22:41, Johan Corveleyn wrote:
> I'm not an expert, but do you really need the modified file itself, if
> you have the patch and a reference to the base file (pristine)? Why
> store both F (pristine) and F' (modified file), if I can reconstruct
> F' out of F + P (patch).

You need source plus delta. We know how to create deltas, and they're
more compact than patches. Only be aware that by then you're well down
the path of re-creating repository functionality in the working copy. :)

(Though, to be fair, that's exactly what's needed for shelving and
checkpointing ... plus a few "tiny" extra features that the WC already has.)

-- Brane
Received on 2017-08-29 13:19:45 CEST

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