svnadmin 加载但保留修订号 [英] svnadmin load but keep the revision numbers

查看:34
本文介绍了svnadmin 加载但保留修订号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从 svn 转储生成一个新的存储库.svn 转储文件包含修订版 1-41.

I'm trying to generate a new repository from an svn dump. The svn dump file contains revisions 1-41.

我生成新的存储库:svadmin create software_2.0然后将修订版加载到存储库中: svnadmin load software_2.0 <;dump_1_41.dump

I generate the new repository: svadmin create software_2.0 And then load the revision into the repository: svnadmin load software_2.0 < dump_1_41.dump

但是,当完成时,我收到消息 committed new rev 1 (loaded from original 41)

However, when complete, I get the message committed new rev 1 (loaded from original 41)

如何在将转储文件加载到新创建的存储库时保留修订号?

How do I preserve the revision number when loading a dump file into a newly created repository?

推荐答案

假设以下条件:

  1. 转储整个源代码库
  2. 创建了一个新的目标存储库,并且没有提交任何内容
  3. 源存储库中的转储文件已完整加载

然后您的修订历史记录(包括数字)保留.

Then your revision history (including the numbers) will be preserved.

您的转储文件可能不包含您认为它包含的内容.

It's likely that your dumpfile doesn't contain what you think it contains.

这篇关于svnadmin 加载但保留修订号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆