Skip to content

Commit 32c19fb

Browse files
committed
hg working on command line
1 parent 778169a commit 32c19fb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/cloud9/ext/hg/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ sys.inherits(ShellHgPlugin, Plugin);
3838
"commands": {}
3939
}};
4040

41-
out.replace(/[\s]{3,4}([\w]+)[\s]+(.*)\n/gi, function(m, sub, hint) {
41+
out.replace(/([\w]+)[\s]{3,5}([\w].+)\n/gi, function(m, sub, hint) {
4242
hghelp.hg.commands[sub] = _self.augmentCommand(sub, {"hint": hint});
4343
});
4444
onfinish();

0 commit comments

Comments
 (0)