所以这是故事,我有以下SVN回购-
Fruit - Banana - trunk - Mango Vegetables - Potato - trunk - Mango - trunk
事实证明,在整个过程中,我们一直在为芒果项目使用错误的回购(蔬菜),并且在水果回购中已有一个现有的芒果文件夹。因此,我的任务是将Vegetables \ Mango \ trunk文件夹放入Fruit \ Mango。这是我的尝试-
// I dump the vegetables repo svnadmin dump C:\Repos\Vegetables > Vegetables.dump // I then filter the dump to only include Mango/trunk svndumpfilter --drop-empty-revs --renumber-revs include Mango/trunk < Vegetables.dump > Mango-trunk.dump // Finally, I load the filtered dump file into the Fruit/Mango svnadmin load C:\Repos\Fruit --parent-dir Mango < Mango-trunk.dump
生成的水果回购如下:
Fruit - Banana - trunk - Mango - Mango - trunk
这显然是假设的,但反映了我现在遇到的问题。我不知道如何在没有其父目录的情况下单独迁移主干文件夹。我什至尝试根据我对文件系统的错误假设对已过滤的转储进行dumpfilter,但这无济于事。我需要执行确切任务的提示,建议的替代方法对我没有帮助,谢谢。