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

43 views Asked by At

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?

2

There are 2 answers

0
YungDeiza On BEST ANSWER

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.

1
mstrap On

You can toggle View|Files Assigned to Change Sets to hide them from the Files view, then select all remaining files and invoke Revert.