mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-27 10:56:16 -04:00
Commit despite bug in requestChangesets
This commit is contained in:
parent
1060544b86
commit
126c83f71c
1 changed files with 6 additions and 2 deletions
|
@ -327,8 +327,11 @@ $.Class("RevisionCache",
|
|||
return;
|
||||
}
|
||||
|
||||
//TODO: we should probably check for discontinuities
|
||||
// just prepend the found path to thePath
|
||||
//TODO: we should probably check for discontinuities which indicate a real WTF condition.
|
||||
|
||||
// just prepend the found path to thePath; we assume that we get further from
|
||||
// the original target as we go. this is because we set the new target to be
|
||||
// the head of our
|
||||
thePath = res.path.concat(thePath);
|
||||
|
||||
log("THE PATH: ", print_path(thePath));
|
||||
|
@ -387,6 +390,7 @@ $.Class("RevisionCache",
|
|||
var roundup = function (a, b) {
|
||||
return (Math.floor(a / b)+1) * b;
|
||||
};
|
||||
|
||||
this.log("[requestChangesets] start: %d, end: %d, delta: %d, adelta: %d", start, end, delta, adelta);
|
||||
for (var g in Revision.granularities) {
|
||||
var granularity = Revision.granularities[g];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue