Home | History | Annotate | Download | only in checkout

Lines Matching refs:line

109         # The first line should be a date line.
116 for line in changelog_file:
118 if date_line_regexp.match(line) or rolled_over_regexp.match(line):
121 entry_lines.append(line)
122 return None # We never found a date line!
135 def _wrap_line(self, line):
136 return textwrap.fill(line,
147 lines = [self._wrap_line(line) for line in message.splitlines()]
155 for line in fileinput.FileInput(self.path, inplace=1):
156 if reviewed_by_regexp.search(line):
158 print reviewed_by_regexp.sub(message_lines, line),
160 # line and the first changed file.
163 if line.find('*') >= 0: # each changed file is preceded by a *
167 print line,
171 for line in fileinput.FileInput(self.path, inplace=1):
173 print line.replace("NOBODY (OOPS!)", reviewer.encode("utf-8")),
177 for line in fileinput.FileInput(self.path, inplace=1):
178 print line.replace("Need a short description and bug URL (OOPS!)", message.encode("utf-8")),