mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-07-08 21:54:26 +02:00
WIP
This commit is contained in:
parent
bd95734751
commit
edb4f0dc2a
5 changed files with 387 additions and 67 deletions
|
@ -52,6 +52,26 @@ var commandConfig = {
|
|||
}
|
||||
},
|
||||
|
||||
graft: {
|
||||
regex: /^hg +graft($|\s)/,
|
||||
options: [
|
||||
'-r'
|
||||
],
|
||||
delegate: function(engine, command) {
|
||||
var options = command.getSupportedMap();
|
||||
if (!options['-r']) {
|
||||
throw new GitError({
|
||||
msg: intl.str('git-error-options')
|
||||
});
|
||||
}
|
||||
command.setGeneralArgs(options['-r']);
|
||||
return {
|
||||
vcs: 'git',
|
||||
name: 'cherrypick'
|
||||
};
|
||||
}
|
||||
},
|
||||
|
||||
log: {
|
||||
regex: /^hg +log($|\s)/,
|
||||
options: [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue