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

Side by Side Diff: git_try.py

Issue 1689633002: Finally get rid of depot_tools' breakpad. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: fix test Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « git_cl.py ('k') | tests/breakpad_unittest.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 """Wrapper for trychange.py for git checkout.""" 5 """Wrapper for trychange.py for git checkout."""
6 6
7 import logging 7 import logging
8 import sys 8 import sys
9 9
10 import breakpad # pylint: disable=W0611
11
12 from scm import GIT 10 from scm import GIT
13 import subprocess2 11 import subprocess2
14 import third_party.upload 12 import third_party.upload
15 import trychange 13 import trychange
16 import git_cl 14 import git_cl
17 15
18 16
19 def GetRietveldIssueNumber(): 17 def GetRietveldIssueNumber():
20 try: 18 try:
21 return GIT.Capture( 19 return GIT.Capture(
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 print(str(e)) 67 print(str(e))
70 return 0 68 return 0
71 69
72 70
73 if __name__ == '__main__': 71 if __name__ == '__main__':
74 try: 72 try:
75 sys.exit(main(sys.argv[1:])) 73 sys.exit(main(sys.argv[1:]))
76 except KeyboardInterrupt: 74 except KeyboardInterrupt:
77 sys.stderr.write('interrupted\n') 75 sys.stderr.write('interrupted\n')
78 sys.exit(1) 76 sys.exit(1)
OLDNEW
« no previous file with comments | « git_cl.py ('k') | tests/breakpad_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698