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

Side by Side Diff: git_try.py

Issue 1683173002: Revert of Finally get rid of depot_tools' breakpad. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: 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
10 from scm import GIT 12 from scm import GIT
11 import subprocess2 13 import subprocess2
12 import third_party.upload 14 import third_party.upload
13 import trychange 15 import trychange
14 import git_cl 16 import git_cl
15 17
16 18
17 def GetRietveldIssueNumber(): 19 def GetRietveldIssueNumber():
18 try: 20 try:
19 return GIT.Capture( 21 return GIT.Capture(
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 print(str(e)) 69 print(str(e))
68 return 0 70 return 0
69 71
70 72
71 if __name__ == '__main__': 73 if __name__ == '__main__':
72 try: 74 try:
73 sys.exit(main(sys.argv[1:])) 75 sys.exit(main(sys.argv[1:]))
74 except KeyboardInterrupt: 76 except KeyboardInterrupt:
75 sys.stderr.write('interrupted\n') 77 sys.stderr.write('interrupted\n')
76 sys.exit(1) 78 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