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

Side by Side Diff: git-try

Issue 536002: Add --webkit option as a shorthand for -s third_party/WebKit. (Closed)
Patch Set: Created 10 years, 11 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 | « no previous file | trychange.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) 2009 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2009 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 sys 8 import sys
8 9
9 try: 10 try:
10 import breakpad 11 import breakpad
11 except ImportError: 12 except ImportError:
12 pass 13 pass
13 14
14 from scm import GIT 15 from scm import GIT
15 import trychange 16 import trychange
16 17
(...skipping 11 matching lines...) Expand all
28 29
29 30
30 if __name__ == '__main__': 31 if __name__ == '__main__':
31 args = sys.argv[:] 32 args = sys.argv[:]
32 patchset = GetRietveldPatchsetNumber() 33 patchset = GetRietveldPatchsetNumber()
33 if patchset: 34 if patchset:
34 args.extend([ 35 args.extend([
35 '--issue', GetRietveldIssueNumber(), 36 '--issue', GetRietveldIssueNumber(),
36 '--patchset', patchset, 37 '--patchset', patchset,
37 ]) 38 ])
39 # Hack around a limitation in logging.
40 logging.getLogger().handlers = []
38 sys.exit(trychange.TryChange(args, [], False, 'git-try')) 41 sys.exit(trychange.TryChange(args, [], False, 'git-try'))
OLDNEW
« no previous file with comments | « no previous file | trychange.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698