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

Unified Diff: git-try

Issue 173446: git-try: When -r isn't specified, let the try server decide the revision. (Closed)
Patch Set: git-try: When -r isn't specified, let the try server decide the revision. Created 11 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: git-try
===================================================================
--- git-try (revision 24847)
+++ git-try (working copy)
@@ -49,14 +49,6 @@
return GetBranchName() + '-' + short_sha
-def GetRevision():
- """Get the latest Subversion revision number."""
- for line in Backquote(['git', 'svn', 'info']).split('\n'):
- if line.startswith('Revision:'):
- return line[len('Revision:'):].strip()
- raise "Couldn't figure out latest revision"
-
-
def GetRietveldIssueNumber():
return Backquote(['git', 'config',
'branch.%s.rietveldissue' % GetBranchName()])
@@ -173,8 +165,6 @@
args.append('--clobber')
if options.revision:
args.extend(['-r', options.revision])
- else:
- args.extend(['-r', GetRevision()])
if GetRietveldPatchsetNumber():
args.extend([
'--issue', GetRietveldIssueNumber(),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698