问题描述
存储库_1-源
存储库_2-目标
我使用svnadmin和svndumpfilter的组合创建了Repository_1/Folder1的转储文件
I created a dump file of Repository_1/Folder1 using combination of svnadmin and svndumpfilter
从转储文件从 Repository_1/Folder1 加载到 Repository_2/Trunk 时,一切都很好 BUT
When loading from the dump file from Repository_1/Folder1 into Repository_2/Trunk everything is fine BUT
从 Repository_1/Folder1/Sub-folder (为此创建了另一个转储)加载到 Repository_2/trunk 时,出现以下错误:
When loading from Repository_1/Folder1/Sub-folder(created another dump for this) into Repository_2/trunk i get the following error:
svnadmin: File not found: transaction '267-89', path 'trunk/Folder1/Sub-folder'
有人可以解释吗?
推荐答案
证明需要预先创建目标中的结构(空文件夹).所以,如果您想这样做:
Turns out that structure(empty folders) in destination needs to pre-created.So,If you want to do this:
从 Repository_1/Folder1/Sub-folder (为此创建了另一个转储)加载到 Repository_2/trunk
When loading from Repository_1/Folder1/Sub-folder(created another dump for this) into Repository_2/trunk
存储库_2/trunk/Folder1
注意:您只需要创建父目录,而无需创建文件夹本身,因此请勿创建 Repository_2/trunk/Folder1/Sub-folder
note: you only need to create parents, not the folder itself, so DO NOT CREATE Repository_2/trunk/Folder1/Sub-folder
这篇关于从转储文件的svnadmin加载导致“找不到文件错误".帮助?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!