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

Unified Diff: git_try.py

Issue 8036046: Revert r102783 "Support for |change| argument to |GetPreferredTrySlaves()|." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 3 months 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 | « git_cl.py ('k') | presubmit_support.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git_try.py
diff --git a/git_try.py b/git_try.py
index 27eafba37eb41432c202897d221e12f66def7d8c..06aaa6eb5f2acefd3a4abb1d44737a0d95ef784a 100755
--- a/git_try.py
+++ b/git_try.py
@@ -13,7 +13,6 @@ from scm import GIT
import subprocess2
import third_party.upload
import trychange
-import git_cl
def GetRietveldIssueNumber():
@@ -54,10 +53,8 @@ if __name__ == '__main__':
# Hack around a limitation in logging.
logging.getLogger().handlers = []
try:
- cl = git_cl.Changelist()
- change = cl.GetChange(cl.GetUpstreamBranch(), None)
sys.exit(trychange.TryChange(
- args, change, file_list=[], swallow_exception=False,
+ args, file_list=[], swallow_exception=False,
prog='git try',
extra_epilog='\n'
'git try will diff against your tracked branch and will '
« no previous file with comments | « git_cl.py ('k') | presubmit_support.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698