svn提交到多个存储库

编程入门 行业动态 更新时间:2024-10-25 22:29:57
本文介绍了svn提交到多个存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个正在处理的主项目,其中有几个模块/目录。 主项目绑定到本地svn存储库。但是,每当我提交时,我也想将一些模块/目录也推送到Google代码存储库中。但是我只想从本地存储库更新。有没有一种方法可以自动执行?我的IDE是emacs 23。

I have have a main project I am working on, which has several modules/directories. The main project is bound to local svn repository. however, whenever I do commit, I would like to push some modules/directories to Google code repository as well. However I only want to update from local repository. Is there a way to do it automatically? my IDE is emacs 23.

谢谢

推荐答案

这是 SVN书籍如何推荐。似乎很痛苦,基本上是围绕每个回购文件都有一个工作副本,然后在两个副本之间按原样复制更改(您也可以使用SVN补丁来做到这一点)。

This is how the SVN book recommends you do it. It seems pretty painful and basically revolves around having a working copy for each repo and literally copying changes between the two (you could probably also do this with SVN patches).

您可以查看使用SVK (这是SVN的分发层,向SVN添加了Git-ish功能)设置存储库镜像或合并到外部存储库。当心,SVK的文档有些混乱。显然,命令行帮助是很好的。

Alternatively you can look into using SVK (which is distribution layer for SVN, adding Git-ish functionality to SVN) to setup repository mirroring or merging to external repos. Beware, the documentation for SVK is a little disorganized. Apparently the command-line help is good.

更多推荐

svn提交到多个存储库

本文发布于:2023-11-03 06:45:15,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1554482.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:多个   svn

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!