whoops messed up rebase

This commit is contained in:
Peter Cottle 2012-10-25 09:58:58 -07:00
parent a1b1b0b31b
commit 647bba9903
2 changed files with 6 additions and 0 deletions

View file

@ -861,7 +861,10 @@ GitEngine.prototype.rebase = function(targetSource, currentLocation) {
// it's not in the set, so we need to rebase this commit
toRebaseRough.push(popped);
toRebaseRough.sort(this.idSortFunc);
toRebaseRough.reverse();
// keep searching
pQueue = pQueue.concat(popped.get('parents'));
}
return this.rebaseFinish(toRebaseRough, stopSet, targetSource, currentLocation);