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

Side by Side Diff: commit-queue/tools/process.py

Issue 135363007: Delete public commit queue to avoid confusion after move to internal repo (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/
Patch Set: Created 6 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 | « commit-queue/tools/gather_stats.sh ('k') | commit-queue/tools/stats.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #!/usr/bin/env python
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
5 """Analyse commits."""
6
7 import json
8 import logging
9 import optparse
10 import sys
11
12
13 def main():
14 parser = optparse.OptionParser(
15 description=sys.modules['__main__'].__doc__)
16 parser.add_option('-v', '--verbose', action='store_true')
17 options, args = parser.parse_args(None)
18 if options.verbose:
19 logging.basicConfig(level=logging.DEBUG)
20 else:
21 logging.basicConfig(level=logging.ERROR)
22 if len(args) != 1:
23 parser.error('Need 1 arg')
24
25 data = json.load(open(args[0])) or {}
26 revs = sorted(
27 k for k, v in data.iteritems() if v['revprops'] and k != '24079')
28 print '\n'.join(sorted(revs))
29 return 0
30
31
32 if __name__ == '__main__':
33 sys.exit(main())
OLDNEW
« no previous file with comments | « commit-queue/tools/gather_stats.sh ('k') | commit-queue/tools/stats.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698