简体   繁体   English

如何在不重复命令的情况下为多个修订版创建 SVN 转储文件

[英]How to create SVN dump files for multiple revisions without repeating the command

I am creating .dump files for a project hosted on SVN and want to create dumps for multiple revisions.我正在为 SVN 上托管的项目创建 .dump 文件,并希望为多个修订版创建转储。 Currently the command being used in the cmd prompt is:目前在 cmd 提示符中使用的命令是:

svnrdump dump https://some.org.com/svn/project -r 1234 --incremental > Project_rev1234.dump

This command would create the dump file for r1234 for the project, but say I wanted to do revs 1234->1300 without typing the command out dozens of times.此命令将为项目创建 r1234 的转储文件,但假设我想执行 revs 1234->1300 而无需多次输入命令。 How would I achieve this?我将如何实现这一目标? I am completely new to SVN and dump commands.我对 SVN 和转储命令完全陌生。

文档说 -r 可能是一个范围,因此您可以尝试以下操作:

svnrdump dump https://some.org.com/svn/project -r 1234:1300 --incremental > Project_rev1234.dump

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM