Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: FIREFOX_11_0_R…
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (18 sloc) 0.866 kb
import re
import os.path
def buildTryChangeMessage(change, packageDir):
got_revision = revision = change.revision[:12]
who = change.who
packageDir = packageDir % locals()
msgdict = {"type": "plain"}
msgdict['subject'] = "Try submission %(revision)s" % locals()
msgdict['headers'] = {"In-Reply-To": "<try-%(revision)s>" % locals(),
"References": "<try-%(revision)s>" % locals(),
}
msgdict["body"] = """\
Thanks for your try submission (http://hg.mozilla.org/try/pushloghtml?changeset=%(revision)s). It's the best!
Watch https://tbpl.mozilla.org/?tree=Try&rev=%(revision)s for your results to come in.
Builds and logs will be available at %(packageDir)s.
This directory won't be created until the first builds are uploaded, so please be patient.
""" % locals()
return msgdict
Jump to Line
Something went wrong with that request. Please try again.