review/messages.py @ 35fbbd1bbd26

Add a commenting test, and more test utils.
author Steve Losh <steve@stevelosh.com>
date Sun, 04 Oct 2009 19:31:52 -0400
parents cdd63ba4a8f8
children 467dacbab7d6
#!/usr/bin/env python

INIT_START = '''\
initializing the code review data store and config
'''

INIT_SUCCESS = '''\
the review data has been initialized
run "hg commit .hgreview -m'initialize code review'" to record it permanently
'''

INIT_EXISTS_COMMITTED = '''\
the review data was already initialized by someone else
'''

INIT_EXISTS_UNCOMMITTED = '''\
the review data has already been initialized, but is not recorded!
run "hg commit .hgreview -m'initialize code review'" to record it permanently
'''

COMMENT_REQUIRES_MESSAGE = '''\
a message must be provided to add a comment!
'''