add an hg commands module

This commit is contained in:
Siddharth Agarwal 2013-07-31 02:17:27 -07:00
parent 40ed5f6c9b
commit e4c0b4786c
4 changed files with 73 additions and 54 deletions

View file

@ -3,12 +3,13 @@ var intl = require('../intl');
var Errors = require('../util/errors');
var GitCommands = require('../git/commands');
var MercurialCommands = require('../mercurial/commands');
var CommandProcessError = Errors.CommandProcessError;
var CommandResult = Errors.CommandResult;
var commandConfigs = {
'git': GitCommands.gitCommandConfig,
'hg': GitCommands.hgCommandConfig
'hg': MercurialCommands.hgCommandConfig
};
var commands = {