Merge branch 'stable-2.7'

* stable-2.7:
  Work around MySQL refusing to be case sensitive
  Reference included plugins by absolute Urls
  Fix PatchScript's mapping of lines below the last edit
  Fix refreshing PatchScreen when fileList has not yet been loaded
  Fix login servlets when canonicalWebUrl is not set
This commit is contained in:
Shawn Pearce
2013-05-18 12:52:37 -07:00
11 changed files with 96 additions and 66 deletions

View File

@@ -342,7 +342,7 @@ class PatchScriptBuilder {
}
final Edit last = edits.get(edits.size() - 1);
return last.getBeginB() + (a - last.getEndA());
return last.getEndB() + (a - last.getEndA());
}
private int mapB2A(final int b) {
@@ -368,7 +368,7 @@ class PatchScriptBuilder {
}
final Edit last = edits.get(edits.size() - 1);
return last.getBeginA() + (b - last.getEndB());
return last.getEndA() + (b - last.getEndB());
}
private void packContent(boolean ignoredWhitespace) {