有没有办法将存储库用作“模板"?开始一个新的存储库? [英] Is there a way to use a repository as a "template" to start a new repository?

查看:44
本文介绍了有没有办法将存储库用作“模板"?开始一个新的存储库?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个 Subversion 存储库,其中包含用于开始创建新站点的外部组件和一些文件,例如基于库的基本登录设置.

I have a Subversion repository that contains the externals and some files to start creating a new site, such as a basic login setup based on libraries.

我想知道是否有办法将这个存储库复制"到另一个可以保留外部的存储库,这样我就不必再次设置它们?我不担心保留历史.这将类似于执行导出然后设置外部,但将是一个步骤过程.有办法吗?

What I'm wondering is if there is a way to "copy" this repository into another that will keep the externals so I don't have to set them up again? I'm not worried about keeping the history. This would be similar to performing an export and then setting the externals, but would be a one step process. Is there a way?

推荐答案

您需要的命令是:

svnadmin dumpsvnadmin 加载

这篇关于有没有办法将存储库用作“模板"?开始一个新的存储库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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