SVN - reject, change and revert to previous version

前端 未结 2 1662
花落未央
花落未央 2021-01-28 04:48

We have an SVN repository with a few users. One of the users accidently deleted a directory and checked in the change.

I could just check out an older version of the di

2条回答
  •  猫巷女王i
    2021-01-28 05:04

    If you are using the command line, the typical method is to do a "reverse merge". For example, if version 125 was the checkin that deleted the directory, then you would execute a command like this: svn merge -r 125:124. This will cause subversion to pull the directory out of the history and drop it into the working copy. Once you verify that everything is correct, you can issue a commit and put the directory back into subversion.

提交回复
热议问题