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

Reply via email to