User:Bwinton/Commit Checklist

< User:Bwinton
Revision as of 15:59, 17 November 2010 by Bwinton (talk | contribs) (Created page with "= Pre-Commit Checklist<br> = == Mercurial<br> == <pre>hg import "<url to bugzilla patch>" </pre> Do a diff, and make sure what you're checking in is what you mean to check...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Pre-Commit Checklist

Mercurial

hg import "<url to bugzilla patch>"

Do a diff, and make sure what you're checking in is what you mean to check in.

hg commit (Don't forget the '-u "User Name <email@address">'!)

For the message, use:

Bug 123456 - Description of what the patch does.  ui-r=clarkbw, r=reviewer, sr=super-reviewer, a=approver.

Go to the bug, and mark it RESOLVED - FIXED, with a message of:

Committed as http://hg.mozilla.org/comm-central/rev/<hg rev hash>

Go to http://build.mozillamessaging.com/tinderboxpushlog/?tree=Thunderbird and wait for a successful run of your patch.


Subversion

curl -o new.patch "<url to bugzilla patch>"
patch -p 0 < new.patch

Do a diff, and make sure what you're checking in is what you mean to check in.

svn commit

For the message, use:

Bug 123456 - Description of what the patch does. p=patch-author, ui-r=clarkbw, r=reviewer, sr=super-reviewer, a=approver.

Go to the bug, and mark it RESOLVED - FIXED, with a message of:

Committed as http://viewvc.svn.mozilla.org/vc?view=revision&revision=<svn rev number>


CVS

You're on your own, sucker.  ;)