Who we are

We are the developers of Plastic SCM, a full version control stack (not a Git variant). We work on the strongest branching and merging you can find, and a core that doesn't cringe with huge binaries and repos. We also develop the GUIs, mergetools and everything needed to give you the full version control stack.

If you want to give it a try, download it from here.

We also code SemanticMerge, and the gmaster Git client.

CmdRunner power!

Wednesday, January 25, 2012 Ma Nu 0 Comments

The CmdRunner library is a tiny c# project that allows you to create porcelain applications using the cm shell strength.

What is the "cm shell" feature?

The cm shell utility is able to execute cm commands like flash! It opens a shell interface where you can start issuing cm commands!

Test it! First run four or five cm lrep lonely commands, not a big deal... Now try to issue cm shell and then type lrep & enter, lrep & enter, lrep & enter, lrep & enter... much faster!! Ain’t it cool?

Using the CmdRunner library you will be able to use this incredible speed running cm commands and create small or big utilities for your daily work with Plastic SCM.

Some examples

  • If you want to list all the changesets inside the default repository, you just need to write something like this:
  • You can also perform write operations. This example will return 0 or 1 regarding if the checkout operation was successful or not:
  • After the checkin you may want to modify the file and finally commit it:
  • You can go further! For example, you can create your own c# replication scheduler. Launch replication operations is as simple as this:

You only have to surround the cm commands with your stuff and you will able to create everything you can want!

Every single cm command you can imagine can be executed by our CmdRunner. Some of our plugins are using this library to work. So can create big things

You can download the CmdRunner source code and easy examples.

The Visual Studio solution can be opened with VS 2010. The CmdRunnerExample project contains code examples to start playing.

Have fun!

Manuel Lucio
I'm in charge of the Customer Support area.
I deal with complex setups, policies and working methodologies on a daily basis.
Prior to taking full responsibility of support, I worked as software engineer. I have been in charge of load testing for quite some time, so if you want to know how well Plastic compares to SVN or P4 under a really heavy load, I'm your guy.
I like to play with Arduino GPS devices, mountain biking and playing tennis.
You can find me hooked to my iPhone, skate-boarding or learning Korean... and also here @mrcatacroquer.

0 comentarios: