svnsmartsvn

How can I revert all local changes excluding what is in a change set using SmartSVN


Using SmartSVN, I would like to revert all local changes excluding files within a change set using a single command.

Using Revert Recursively from the root folder reverts files within the change set.

Is it possible to revert all files and folders excluding what is in the change set?


Solution

  • This can be achieved by creating a patch file of the files that you need to retain, then doing a recursive revert from the root folder and then finally applying the patch file to the working copy to restore the files you wanted to preserve.