Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(79)

Unified Diff: git_cl.py

Issue 11280143: Create CachingRietveld to automatically cache results for presubmit checks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: add tests Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gcl.py ('k') | presubmit_support.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_cl.py
diff --git a/git_cl.py b/git_cl.py
index f65d11ce5c5c79d89a0c6558113523cbe37005fd..092b0afff16b8bc8c5ba3629d945fd9f895ba416 100755
--- a/git_cl.py
+++ b/git_cl.py
@@ -742,8 +742,8 @@ or verify this branch is set up to track another (via the --track argument to
"""Returns an upload.RpcServer() to access this review's rietveld instance.
"""
if not self._rpc_server:
- self._rpc_server = rietveld.Rietveld(self.GetRietveldServer(),
- None, None)
+ self._rpc_server = rietveld.CachingRietveld(
+ self.GetRietveldServer(), None, None)
return self._rpc_server
def _IssueSetting(self):
« no previous file with comments | « gcl.py ('k') | presubmit_support.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698