Check List for Committing in the Repository

Content Checks

  1. Check copyright notices.
  2. Add copyright in NOTICE file if not already there.
  3. Check indentation. Remove tabs and trailing spaces.
  4. Check .hgignore file (testing with hg st).

Command-Line Options

  1. Set author to patch submitter as follows:
    First Last <email@address>
    
  2. Set date to latest changeset submission date.

Log Message

  1. Log message must start with a verb.
  2. Start verb must be in present tense (not past tense).
  3. Log message must refer to related ticket, when applicable. Must be written as:
    Some message log. See ticket:xxx.
    
  4. Log message must hold on a single line, and be at most 72 chars long (including the ticket reference).