fixed merge case with existing commits

This commit is contained in:
Peter Cottle 2013-07-07 13:42:42 -07:00
parent 87c787c8af
commit 67570f716d
7 changed files with 67 additions and 23 deletions

View file

@ -26,10 +26,19 @@ function getMockFactory() {
}
// special method that does stuff
mockFactory.playRefreshAnimationAndFinish = function(gitVisuals, aQueue) {
console.log('trying to finish');
aQueue.thenFinish(Q.defer().promise);
};
mockFactory.playCommitBirthPromiseAnimation = function(commit, visuals) {
var d = Q.defer();
d.resolve();
return d.promise;
};
mockFactory.highlightEachWithPromise = function(chain, toRebase, destBranch) {
return chain;
};
return mockFactory;
}