On 08 Mar 2022, Daniel Shahaf wrote:
Karl Fogel wrote on Sun, Mar 06, 2022 at 22:19:50 -0600:
b) The failure mode of unnecessary fetching and storing is much worse than the failure mode of not having fetched a pristine that someone might turn
out to want (there are workarounds for the latter);

What are some of those workarounds?

One can make a copy of a file before modifying it, if one thinks one might need to revert or do a local diff (not necessarily limited to regular plain-text 'diff' program, of course -- some binary file formats have corresponding custom diff tools).

And if one forgets to make a copy first, one can *still* fetch the base file manually from the server using 'svn cat', thus paying the network-time cost and the local-storage cost by choice.

Finally, eventually we may have an 'svn rehydrate' command (or 'svn update --rehydrate' or whatever -- I'm not worrying about the UI details here, just positing that there *is* a UI). That would do basically what 'svn cat' does, but in addition would integrate the result into the working copy as a pristine base.

Best regards,
-Karl

Reply via email to