mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
mercurial commands fixed with new option parsing logic
This commit is contained in:
parent
1ba46f7705
commit
bf52d640d5
2 changed files with 19 additions and 8 deletions
|
@ -67,6 +67,14 @@ var Command = Backbone.Model.extend({
|
|||
);
|
||||
},
|
||||
|
||||
// if order is important
|
||||
prependOptionR: function() {
|
||||
var rOptions = this.getOptionsMap()['-r'] || [];
|
||||
this.setGeneralArgs(
|
||||
rOptions.concat(this.getGeneralArgs())
|
||||
);
|
||||
},
|
||||
|
||||
mapDotToHead: function() {
|
||||
var generalArgs = this.getGeneralArgs();
|
||||
var options = this.getOptionsMap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue