thr
thr

Reputation: 19476

Steping back from applied patch

When creating a patch with the "patch" tool or with the built in "patch"-functionality in svn and then applying it to a source tree, is there any way to easily step back from the applied patch to the previous version?

Upvotes: 0

Views: 89

Answers (2)

Juraj
Juraj

Reputation: 870

Apply the patch again in reverse (for example patch -R switch).

Upvotes: 1

Vicky
Vicky

Reputation: 13244

svn revert? You can revert to the previous revision (before the patch was applied).

Upvotes: 1

Related Questions