commit | 9d4c51ce49ce773349025ee8e59d2e7df21a2ed2 | [log] [tgz] |
---|---|---|
author | Dave Borowitz <dborowitz@google.com> | Wed Apr 29 09:21:13 2015 -0700 |
committer | Dave Borowitz <dborowitz@google.com> | Thu Apr 30 16:45:27 2015 -0700 |
tree | 178ae8647ddad53ff1497de6227e7e6c2cbcd733 | |
parent | 1d7de014a236b8a1ba687d3315a56842f50abc6a [diff] |
notedb: Rewrite comments to be keyed by RevId Rather than maintain two separate maps, one for each side, use a single multimap of SHA-1 (RevId) to PatchLineComment. Callers are responsible for looking up the RevId they need (e.g. with the PatchListCache), but in practice they rarely do. Change-Id: I5597cc6c12a881e7cf7f3c786b9697b4f7b9749f