Check List for Committing in the Repository
Content Checks
- Check copyright notices.
- Add copyright in NOTICE file if not already there.
- Check indentation. Remove tabs and trailing spaces.
- Check .hgignore file (testing with hg st).
Command-Line Options
- Set author to patch submitter as follows:
First Last <email@address>
- Set date to latest changeset submission date.
Log Message
- Log message must start with a verb.
- Start verb must be in present tense (not past tense).
- Log message must refer to related ticket, when applicable. Must be written as:
Some message log. See ticket:xxx.
- Log message must hold on a single line, and be at most 72 chars long (including the ticket reference).
