equal
deleted
inserted
replaced
188 for line in reversed(lines): |
188 for line in reversed(lines): |
189 if count >= limit: |
189 if count >= limit: |
190 break |
190 break |
191 |
191 |
192 # count the commands by matching lines like: 2013/01/23 19:13:36 root> |
192 # count the commands by matching lines like: 2013/01/23 19:13:36 root> |
193 if re.match('^\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} .*> .*', line): |
193 if re.match(br'^\d{4}/\d{2}/\d{2} \d{2}:\d{2}:\d{2} .*> .*', line): |
194 count += 1 |
194 count += 1 |
195 output.append(line) |
195 output.append(line) |
196 |
196 |
197 ui.status('\n'.join(reversed(output))) |
197 ui.status('\n'.join(reversed(output))) |