我在Ubuntu 12.04上运行svn服务器并通过以下方式进行了svn备份:
svnadmin dump ./backup/repo > repo.dump
现在我尝试通过以下方式恢复它并创建了一个新的回购:
svnadmin create repo
svnadmin load ./repo < ./backup/repo.dump
但是在修订版83之后它变得很奇怪,我得到以下错误:
<<< Started new transaction, based on original revision 83
* editing path : test/file1.WBG ... done.
* editing path : test/file2.WBG ... done.
------- Committed revision 83 >>>
<<< Started new transaction, based on original revision 1
* adding path : pic2.png ... done.
------- Committed new rev 84 (loaded from original rev 1) >>>
<<< Started new transaction, based on original revision 2
* adding path : pic.png ... done.
------- Committed new rev 85 (loaded from original rev 2) >>>
<<< Started new transaction, based on original revision 3
* deleting path : pic.png ... done.
* deleting path : pic2.png ... done.
------ Committed new rev 86 (loaded from original rev 3) >>>
<<< Started new transaction, based on original revision 4
svnadmin: File already exists: filesystem 'repo/db', transaction '86-2e', path 'api'
* adding path : api ...
然后停止,但整个存储库有90个版本。
我真的不明白为什么它会在83之后的第一次修订中加载。
我希望有人可以提供帮助。 谢谢!