由于从备份回滚,Subversion 工作副本比服务器新 [英] Subversion working copy newer than server because of rollback from backup
问题描述
因此,我的服务器管理员从备份中回滚了 Subversion 服务器.我的工作副本是修订版 1534,但服务器现在是 1525,这会产生一些问题:
So, my server administrator rolled back the subversion server from a backup. My working copy is at revision 1534, but the server is now at 1525, which yields some problems:
$ svn up
svn: Revision 1534 not found
当然,总是可以选择进行干净的结帐,但是有没有更简单的方法使我的本地工作副本与服务器同步?
Of course, there is always the option to do a clean checkout, but is there an easier way to get my local working copy in sync with the server?
推荐答案
您必须再次签出.
您的工作副本已死.
你的管理员真的应该尝试在每次提交时同步他们的备份或通过钩子脚本将提交存储为转储
Your admins should really try to sync their back up on each commit or storing the commits as dumps via hook script
如果您使用的是 Windows/TortoiseSVN,请查看下面的 Martins 回答.
If you are using Windows/TortoiseSVN, please look at Martins answer below.
这篇关于由于从备份回滚,Subversion 工作副本比服务器新的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!