add the first hg command

This commit is contained in:
Siddharth Agarwal 2013-07-30 21:30:47 -07:00
parent ecbe9cb19a
commit acf9c3c657
6 changed files with 33 additions and 3 deletions

View file

@ -82,6 +82,16 @@ var commands = {
};
commandConfig = {
hgcommit: {
regex: /^(hg +commit|hg +ci)($|\s)/,
options: [
'--amend',
'-m'
],
execute: function(engine, command) {
return commandConfig.commit.execute(engine, command);
}
},
commit: {
sc: /^(gc|git ci)($|\s)/,
regex: /^git +commit($|\s)/,