Lines Matching full:rev
34 u = ['Usage: cstyle [-w] [rev|rev1..rev2]',
38 'changes in rev or the series rev1..rev2. With the -w option,',
39 'checks working tree against rev (defaults to HEAD).']
73 # Check for style issues in a file within rev (or within the current
74 # checkout if rev is None). Report only problems on line numbers in
77 def check_file(filename, rev, new_lines): argument
84 if rev is None:
87 p1 = Popen(['git', 'show', rev + ':' + filename], stdout=PIPE)
106 # strings) and check for style violations in those lines. rev
110 def check_diff(diff, rev): argument
128 check_file(filename, rev, new_lines)
140 check_file(filename, rev, new_lines)
145 for rev in revlist:
147 call(['git', 'show', '-s', '--oneline', rev])
149 '--cc', rev])
150 check_diff(diff, rev)
176 # Check the differences in a rev or a series of revs.
178 check_series(run(['git', 'rev-list', '--reverse', args[0]]))