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

Side by Side Diff: gclient.py

Issue 151082: Add help for --head. (Closed)
Patch Set: Created 11 years, 5 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 | 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/python
2 # 2 #
3 # Copyright 2008 Google Inc. All Rights Reserved. 3 # Copyright 2008 Google Inc. All Rights Reserved.
4 # 4 #
5 # Licensed under the Apache License, Version 2.0 (the "License"); 5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License. 6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at 7 # You may obtain a copy of the License at
8 # 8 #
9 # http://www.apache.org/licenses/LICENSE-2.0 9 # http://www.apache.org/licenses/LICENSE-2.0
10 # 10 #
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 This a synonym for 'gclient %(alias)s' 122 This a synonym for 'gclient %(alias)s'
123 123
124 usage: gclient %(cmd)s [options] [--] [svn update options/args] 124 usage: gclient %(cmd)s [options] [--] [svn update options/args]
125 125
126 Valid options: 126 Valid options:
127 --force : force update even for unchanged modules 127 --force : force update even for unchanged modules
128 --revision REV : update/checkout all solutions with specified revision 128 --revision REV : update/checkout all solutions with specified revision
129 --revision SOLUTION@REV : update given solution to specified revision 129 --revision SOLUTION@REV : update given solution to specified revision
130 --deps PLATFORM(S) : sync deps for the given platform(s), or 'all' 130 --deps PLATFORM(S) : sync deps for the given platform(s), or 'all'
131 --verbose : output additional diagnostics 131 --verbose : output additional diagnostics
132 --head : update to latest revision, instead of last good revision
132 133
133 Examples: 134 Examples:
134 gclient %(cmd)s 135 gclient %(cmd)s
135 update files from SVN according to current configuration, 136 update files from SVN according to current configuration,
136 *for modules which have changed since last update or sync* 137 *for modules which have changed since last update or sync*
137 gclient %(cmd)s --force 138 gclient %(cmd)s --force
138 update files from SVN according to current configuration, for 139 update files from SVN according to current configuration, for
139 all modules (useful for recovering files deleted from local copy) 140 all modules (useful for recovering files deleted from local copy)
140 """) 141 """)
141 142
(...skipping 1599 matching lines...) Expand 10 before | Expand all | Expand 10 after
1741 1742
1742 if "__main__" == __name__: 1743 if "__main__" == __name__:
1743 try: 1744 try:
1744 result = Main(sys.argv) 1745 result = Main(sys.argv)
1745 except Error, e: 1746 except Error, e:
1746 print >> sys.stderr, "Error: %s" % str(e) 1747 print >> sys.stderr, "Error: %s" % str(e)
1747 result = 1 1748 result = 1
1748 sys.exit(result) 1749 sys.exit(result)
1749 1750
1750 # vim: ts=2:sw=2:tw=80:et: 1751 # vim: ts=2:sw=2:tw=80:et:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698