review/templates.py @ 85ab60753c33

Refactor the author line generation in tests.  It's much cleaner now.
author Steve Losh <steve@stevelosh.com>
date Sat, 10 Oct 2009 10:51:02 -0400
parents 9df20fad6514
children 1f2f3cb23ac3
"""Templates for hg-review's data files."""

COMMENT_FILE_TEMPLATE = """\
author:%s
datetime:%s
node:%s
filename:%s
lines:%s

%s"""

SIGNOFF_FILE_TEMPLATE = """\
author:%s
datetime:%s
node:%s
opinion:%s

%s"""