svnrdump: E135007: 管道写入错误

svnrdump: E135007: Write error in pipe

我正在尝试将文件夹从 Subversion 存储库移动到另一个,同时保持其所有历史记录完好无损,这些是我使用的命令:

svnrdump dump -r0:HEAD http://asvn/original_repo/sub_folder_A | svnrdump load http://asvn/new_repo/sub_folder_A

dump 命令本身运行良好,但是当我尝试使用 load 命令时出现以下错误:

svnrdump: E175002: DAV request failed; it's possible that the repository's pre-r evprop-change hook either failed or is non-existent svnrdump: E175002: Revprop change blocked by pre-revprop-change hook (exit code 1) with output:

** ERROR-FILES: Unable to get revision (0) file list: 'svnlook.exe: missing argument: r Type 'svnlook help' for usage.'

svnrdump: E135007: Write error in pipe

我发现了这个 link 并按照建议添加了带有 exit 0 的 pre-revprop-change.bat 但我收到了一个新错误:

svnrdump: E175002: DAV request failed; it's possible that the repository's pre-r evprop-change hook either failed or is non-existent

svnrdump: E175002: Revprop change blocked by pre-revprop-change hook (exit code 1) with output:

** ERROR-FILES: Unable to get revision (0) file list: 'svnlook.exe: missing argument: r Type 'svnlook help' for usage.'

你们中有人遇到过这个问题并知道解决方法吗?

谢谢!

I found this link and added a pre-revprop-change.bat with exit 0 as suggested but I am getting a new error:

我猜你实际上混淆了 targetsource 存储库。您看到的错误来自 target 存储库,它 100% 有一个以某种方式损坏的 pre-revprop-hook 脚本。钩子脚本似乎有无效的 svnlook 命令:

svnlook.exe: missing argument: r Type 'svnlook help' for usage.