我正在尝试学习如何迁移Subversion存储库,并且遇到了对我来说没有意义的问题。我曾经svndumpfilter
拆分过一个子项目,并删除了一些路径前缀。现在可以正确导入数百个提交,但是随后出现以下错误:
<<< Started new transaction, based on original revision 19190
* editing path : branches/features/DynamicSource ... done.
* editing path : branches/features/DynamicSource/src/build.properties ... done.
* editing path : branches/features/DynamicSource/src/client/default.htm ...done.
* editing path : branches/features/DynamicSource/src/client/js/AdHocController.js ... done.
* editing path : branches/features/DynamicSource/src/client/js/Report.js ... done.
svnadmin: E160006: No such revision 19098
* adding path : branches/features/DynamicSource/src/client/js/Enums.js ...
好的,所以我进入转储文件以查看修订版19190和19098。首先,修订版19098 确实存在于转储文件中,并且可以顺利导入。修订19190是合并。在19190年内,这是最后一个文件的信息,这似乎是导致此问题的原因:
Node-copyfrom-rev: 19100
Node-copyfrom-path: trunk/src/client/js/Enums.js
Text-copy-source-md5: 2db7f8d9c0ba4750d88ce0722731aad6
Node-path: branches/features/DynamicSource/src/client/js/Enums.js
Node-action: add
Text-copy-source-sha1: 8f930509f8dbc17c5e82cd40aa5a76454d3d812c
Node-kind: file
Content-length: 0
令人困惑的是,此过滤文件中不存在版本19100。但是错误不是指19100,而是指19098!
我该怎么做才能加载该文件?
谢谢!