Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a version control system abstraction for the command-line?

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?

like image 535
Paul Biggar Avatar asked Jan 21 '11 08:01

Paul Biggar


People also ask

What are the three types of version control?

The types of VCS are: Local Version Control System. Centralized Version Control System. Distributed Version Control System.

What is version control command?

Version control is a system that records changes to a file or set of files over time so that you can recall specific versions later. For the examples in this book, you will use software source code as the files being version controlled, though in reality you can do this with nearly any type of file on a computer.

What are the two types of version control systems?

There are two types of version control: centralized and distributed.


2 Answers

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.)

like image 79
Andrew Aylett Avatar answered Sep 22 '22 08:09

Andrew Aylett


The only project I know which aims at providing a common interface (called 'command') for all the major VCS is Amp.
But it is still a work in progress and might not be complete enough for your goal.

like image 29
VonC Avatar answered Sep 23 '22 08:09

VonC