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

Side by Side Diff: gcl.py

Issue 562031: Fix licensing headers and move most third party code to third_party/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: '' Created 10 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 | Annotate | Revision Log
« no previous file with comments | « drover.py ('k') | gclient.py » ('j') | tests/gclient_scm_test.py » ('J')
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) 2006-2009 The Chromium Authors. All rights reserved. 2 # Copyright (c) 2006-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 5
6 """Wrapper script around Rietveld's upload.py that groups files into 6 """Wrapper script around Rietveld's upload.py that groups files into
7 changelists.""" 7 changelists."""
8 8
9 import getpass 9 import getpass
10 import os 10 import os
11 import random 11 import random
12 import re 12 import re
13 import shutil 13 import shutil
14 import string 14 import string
15 import subprocess 15 import subprocess
16 import sys 16 import sys
17 import tempfile 17 import tempfile
18 import upload 18 from third_party import upload
19 import urllib2 19 import urllib2
20 20
21 import breakpad 21 import breakpad
22 22
23 # gcl now depends on gclient. 23 # gcl now depends on gclient.
24 from scm import SVN 24 from scm import SVN
25 import gclient_utils 25 import gclient_utils
26 26
27 __version__ = '1.1.3' 27 __version__ = '1.1.3'
28 28
(...skipping 1176 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 return 0 1205 return 0
1206 args =["svn", command] 1206 args =["svn", command]
1207 root = GetRepositoryRoot() 1207 root = GetRepositoryRoot()
1208 args.extend([os.path.join(root, x) for x in change_info.GetFileNames()]) 1208 args.extend([os.path.join(root, x) for x in change_info.GetFileNames()])
1209 RunShell(args, True) 1209 RunShell(args, True)
1210 return 0 1210 return 0
1211 1211
1212 1212
1213 if __name__ == "__main__": 1213 if __name__ == "__main__":
1214 sys.exit(main()) 1214 sys.exit(main())
OLDNEW
« no previous file with comments | « drover.py ('k') | gclient.py » ('j') | tests/gclient_scm_test.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698