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

Side by Side Diff: gclient.py

Issue 8228017: Revert r104938 "Make svn update not prompt during a sync." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 9 years, 2 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 | « no previous file | gclient_scm.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/env python 1 #!/usr/bin/env 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 5
6 """Meta checkout manager supporting both Subversion and GIT. 6 """Meta checkout manager supporting both Subversion and GIT.
7 7
8 Files 8 Files
9 .gclient : Current client configuration, written by 'config' command. 9 .gclient : Current client configuration, written by 'config' command.
10 Format is a Python script defining 'solutions', a list whose 10 Format is a Python script defining 'solutions', a list whose
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 it will be removed from the list and the list will be extended 42 it will be removed from the list and the list will be extended
43 by the list of matching files. 43 by the list of matching files.
44 44
45 Example: 45 Example:
46 hooks = [ 46 hooks = [
47 { "pattern": "\\.(gif|jpe?g|pr0n|png)$", 47 { "pattern": "\\.(gif|jpe?g|pr0n|png)$",
48 "action": ["python", "image_indexer.py", "--all"]}, 48 "action": ["python", "image_indexer.py", "--all"]},
49 ] 49 ]
50 """ 50 """
51 51
52 __version__ = "0.6.3" 52 __version__ = "0.6.2"
53 53
54 import copy 54 import copy
55 import logging 55 import logging
56 import optparse 56 import optparse
57 import os 57 import os
58 import posixpath 58 import posixpath
59 import pprint 59 import pprint
60 import re 60 import re
61 import sys 61 import sys
62 import urlparse 62 import urlparse
(...skipping 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after
1493 except (gclient_utils.Error, subprocess2.CalledProcessError), e: 1493 except (gclient_utils.Error, subprocess2.CalledProcessError), e:
1494 print >> sys.stderr, 'Error: %s' % str(e) 1494 print >> sys.stderr, 'Error: %s' % str(e)
1495 return 1 1495 return 1
1496 1496
1497 1497
1498 if '__main__' == __name__: 1498 if '__main__' == __name__:
1499 fix_encoding.fix_encoding() 1499 fix_encoding.fix_encoding()
1500 sys.exit(Main(sys.argv[1:])) 1500 sys.exit(Main(sys.argv[1:]))
1501 1501
1502 # vim: ts=2:sw=2:tw=80:et: 1502 # vim: ts=2:sw=2:tw=80:et:
OLDNEW
« no previous file with comments | « no previous file | gclient_scm.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698