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

Side by Side Diff: git_rebase_update.py

Issue 212293002: Fix bad interpreters. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « git_new_branch.py ('k') | no next file » | 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/env python
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 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 5
6 """ 6 """
7 Tool to update all branches to have the latest changes from their upstreams. 7 Tool to update all branches to have the latest changes from their upstreams.
8 """ 8 """
9 9
10 import argparse 10 import argparse
11 import collections 11 import collections
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 % (return_branch, root_branch) 236 % (return_branch, root_branch)
237 ) 237 )
238 git.run('checkout', root_branch) 238 git.run('checkout', root_branch)
239 git.del_config(STARTING_BRANCH_KEY) 239 git.del_config(STARTING_BRANCH_KEY)
240 240
241 return retcode 241 return retcode
242 242
243 243
244 if __name__ == '__main__': # pragma: no cover 244 if __name__ == '__main__': # pragma: no cover
245 sys.exit(main(sys.argv[1:])) 245 sys.exit(main(sys.argv[1:]))
OLDNEW
« no previous file with comments | « git_new_branch.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698