xKiv
Active member
SVN keeps a local copy of the entire remote revision in separate files. AFAIK, if the access is interrupted, you might get those files corrupted, but your working copies should be unaffected (first download the current revision, then apply).SVN would download and overwrite. There is no benefit to keeping old copies except in two cases. One is when access to the SVN repository is interrupted.
SVN should be doing that automatically - even CVS does. That is, if it detects changes that can't be easily merged just by applying (as a patch) the diff between last downloaded revision and current revision. And when that happens, you could issue a warning and open an editor to let the user finish the merge. Presuming that the changes come originally from the user.The other is when there are local changes to be preserved. In that case, it might be worth archiving what was there before a user requested update and merge was performed.
I imagine the initial user interaction as copy-pasting something from a scripts.kolmafia.us page into an input box in kolmafia. Or even clicking a checkbox in kolmafia-provided list of possible scripts.bumcheekcity said:Would embedding an SVN into Kolmafia be accessible to users with absolutely no knowledge of what that is?
Only if they don't use SVN for uploading. If you are developing properly, your local copy will know what revision it is and refuse to commit until you merge a newer current revision.Winterbay said:but may lead to short term vandalism if one is unlucky
Last edited by a moderator: