Changes between Version 22 and Version 23 of CommitGuides
- Timestamp:
- 01/16/09 13:15:30 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CommitGuides
v22 v23 55 55 - Then comes a longer description of the changes, if necessary. Do not list the changed files, but instead detail the nature of the changes. 56 56 57 == Uploading Patch to Trac == 58 59 - When you upload a patch created from a changeset, please include its hash-id into the file-name. At least specify it in the attachment comment. 57 == Creating Patch and Uploading to Trac == 58 - First create your changes and commit them to your repository. Then use the {{{hg export}}} command to create the patch files. 59 - If you have a single changeset, you can export it as follows 60 {{{ 61 hg export --git tip > better-x-c5a48fc54f1a.patch 62 }}} 63 - Should you have more changesets, '''export them one-by-one''' in separate patch files. 64 - When you upload a patch created from a changeset, please include its hash-id in the file-name. At least specify it in the attachment comment. 60 65 - Unfortunately Trac do not send notification on new attachments, thus please also write a separate short comment referring (see below) the changeset. 61 66 - When referring to a patch in the ticket, please use the hash-id instead of the file-name. (In the usual way, like [8ceb318224b1]). If you do so, it will be visible immediately whether or not the changeset you are talking about is already in the main branch.