mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-28 08:50:06 +02:00
mercurial test coverage
This commit is contained in:
parent
7db6f0d38c
commit
bf132f8f09
8 changed files with 122 additions and 18 deletions
|
@ -55,6 +55,18 @@ var Command = Backbone.Model.extend({
|
|||
return string.replace(/\./g, 'HEAD');
|
||||
},
|
||||
|
||||
/**
|
||||
* Since mercurial always wants revisions with
|
||||
* -r, we want to just make these general
|
||||
* args for git
|
||||
*/
|
||||
appendOptionR: function() {
|
||||
var rOptions = this.getSupportedMap()['-r'] || [];
|
||||
this.setGeneralArgs(
|
||||
this.getGeneralArgs().concat(rOptions)
|
||||
);
|
||||
},
|
||||
|
||||
mapDotToHead: function() {
|
||||
var generalArgs = this.getGeneralArgs();
|
||||
var options = this.getSupportedMap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue