我创build了一个新的存储库A.
将svnsync init与存储库B作为源。
从B(从1801年的Rev 0到1690)加载一个转储文件到A.
然后尝试运行svnsync。 我的想法是,svnsync可以拿起转储文件离开的地方。
这是错误的:
svnsync: Destination HEAD (1690) is not the last merged revision (0); have you committed to the destination without using svnsync?
有没有办法让svnsync认为它已经同步到当前的版本?
加载转储文件后,您可以运行以下命令:
svn propset --revprop -r0 svn:sync-last-merged-rev 1690 https://mysvn.com/svn
所有SYNC属性都存储在[repository]\db\revprops\0\0 。 您可以检查和修改其他属性,但要小心。 你可以很容易地破坏设置。 我build议使用命令行而不是手动编辑0文件。