##// END OF EJS Templates
help/dates: use DATE as place-holder in help and abort texts...
help/dates: use DATE as place-holder in help and abort texts The use of "{datetime}" was unfortunate since I as a user never knew if I was expected to do hg log -d '>{2011-04-01}' or hg log -d '>2011-04-01' The word "datetime" is also confusing -- calling it a date it much simpler.

File last commit:

r13141:6cfe17c1 default
r13886:fe48c573 default
Show More
filtercr.py
10 lines | 237 B | text/x-python | PythonLexer
#!/usr/bin/env python
# Filter output by the progress extension to make it readable in tests
import sys, re
for line in sys.stdin:
line = re.sub(r'\r+[^\n]', lambda m: '\n' + m.group()[-1:], line)
sys.stdout.write(line)
print