我找到了这样的命令
svn cp svn://myrepo.com/svn/branches/2.0.5@4593 \ svn://myrepo.com/svn/branches/2.0.5_restored
其中 4593 是修订号。
但我不知道删除分支之前的修订号。
最佳答案
引自the manual :
A good strategy is to run svn log --verbose in a directory that used to contain your deleted item. The --verbose (-v) option shows a list of all changed items in each revision; all you need to do is find the revision in which you deleted the file or directory.
例如:
svn log --verbose svn://myrepo.com/svn/branches | less
关于svn - 如果我不知道修订版本,如何恢复已删除的分支?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50237147/