是否有命令行的版本控制系统抽象? [英] Is there a version control system abstraction for the command-line?

查看:148
本文介绍了是否有命令行的版本控制系统抽象?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

现在许多小型的开源项目通过他们的版本控制系统出货,我经常需要经常在多台机器上安装数十个我需要的版本库。我正在寻找某种方式来轻松管理。如果我自己设计它,我将有一个文件列出所有远程存储库,以及一个自动从它们中取出的命令行客户端。



这样做,还是一些变化的主题,存在吗?

mr 旨在让您将多个存储库作为一个整体进行更新,并支持多种版本控制系统:


mr(1)命令可以检出
更新,或对
的一组存储库执行其他操作,就像它们是
一个组合存储库一样。它支持
subversion,git,
cvs,mercurial,bzr,darcs,cvs和
化石库的任意组合,并且支持
其他版本控制系统可以很容易地添加。 (有扩展添加了对unison和git-svn的支持。)



Now that so many small open source projects "ship" via their version control systems, I have dozens of repositories that I need on a frequent basis, often on multiple machines. I'm looking for some kind of way to manage this easily. If I were to design it myself, I would have a file listing all the remote repositories, and a command-line client that automatically pulled from them.

Does this, or some variation on the theme, exist?

解决方案

mr is designed to let you update multiple repositories as one, and supports a wide range of version control systems:

The mr(1) command can checkout, update, or perform other actions on a set of repositories as if they were one combined respository. It supports any combination of subversion, git, cvs, mercurial, bzr, darcs, cvs, and fossil repositories, and support for other revision control systems can easily be added. (There are extensions adding support for unison and git-svn.)

这篇关于是否有命令行的版本控制系统抽象?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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