diff options
| author | Eric S. Raymond | 2014-10-26 20:27:55 -0400 |
|---|---|---|
| committer | Eric S. Raymond | 2014-10-26 20:27:55 -0400 |
| commit | 12983c77989e47c7c7b6fbe7a0c999036969ffbd (patch) | |
| tree | 3cbdf6c15dcb4f2f5ff3a66f377fd4c55fb21ff2 /admin | |
| parent | 2beeb6e811782685383f0ef4168f30d5864899d0 (diff) | |
| download | emacs-12983c77989e47c7c7b6fbe7a0c999036969ffbd.tar.gz emacs-12983c77989e47c7c7b6fbe7a0c999036969ffbd.zip | |
More preparation for git tramsition. Reorganize to sparate our dependencies.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/ChangeLog | 7 | ||||
| -rw-r--r-- | admin/notes/repo | 54 |
2 files changed, 35 insertions, 26 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index 6cac023cbb3..84a809826a9 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,3 +1,10 @@ | |||
| 1 | 2014-10-27 Eric S. Raymond <esr@thyrsus.com> | ||
| 2 | |||
| 3 | * notes/bzr: Renamed to notes/repo, reorganixed to separate | ||
| 4 | VCS-dependent from VCS-independent stuff. | ||
| 5 | |||
| 6 | * notes/BRANCH: Merged into notes/repo. | ||
| 7 | |||
| 1 | 2014-10-20 Glenn Morris <rgm@gnu.org> | 8 | 2014-10-20 Glenn Morris <rgm@gnu.org> |
| 2 | 9 | ||
| 3 | * Merge in all changes up to 24.4 release. | 10 | * Merge in all changes up to 24.4 release. |
diff --git a/admin/notes/repo b/admin/notes/repo index 6013e9307eb..910b092e1ab 100644 --- a/admin/notes/repo +++ b/admin/notes/repo | |||
| @@ -51,15 +51,6 @@ In that case, it's helpful if you can apply the change to both trunk | |||
| 51 | and branch yourself (when committing the branch change, indicate | 51 | and branch yourself (when committing the branch change, indicate |
| 52 | in the commit log that it should not be merged to the trunk; see below). | 52 | in the commit log that it should not be merged to the trunk; see below). |
| 53 | 53 | ||
| 54 | * Backporting a bug-fix from the trunk to a branch (e.g. "emacs-24"). | ||
| 55 | |||
| 56 | Indicate in the commit log that there is no need to merge the commit | ||
| 57 | to the trunk. Anything that matches `bzrmerge-skip-regexp' will do; | ||
| 58 | eg start the commit message with "Backport:". This is helpful for the | ||
| 59 | person merging the release branch to the trunk. | ||
| 60 | |||
| 61 | http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00262.html | ||
| 62 | |||
| 63 | * Installing changes from your personal branches. | 54 | * Installing changes from your personal branches. |
| 64 | 55 | ||
| 65 | If your branch has only a single commit, or many different real | 56 | If your branch has only a single commit, or many different real |
| @@ -98,6 +89,15 @@ variable in admin/merge-gnulib before running it. | |||
| 98 | If you remove a gnulib module, or if a gnulib module | 89 | If you remove a gnulib module, or if a gnulib module |
| 99 | removes a file, then remove the corresponding files by hand. | 90 | removes a file, then remove the corresponding files by hand. |
| 100 | 91 | ||
| 92 | * Backporting a bug-fix from the trunk to a branch (e.g. "emacs-24"). | ||
| 93 | |||
| 94 | Indicate in the commit log that there is no need to merge the commit | ||
| 95 | to the trunk. Anything that matches `bzrmerge-skip-regexp' will do; | ||
| 96 | eg start the commit message with "Backport:". This is helpful for the | ||
| 97 | person merging the release branch to the trunk. | ||
| 98 | |||
| 99 | http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00262.html | ||
| 100 | |||
| 101 | * How to merge changes from emacs-24 to trunk | 101 | * How to merge changes from emacs-24 to trunk |
| 102 | 102 | ||
| 103 | The following description uses bound branches, presumably it works in | 103 | The following description uses bound branches, presumably it works in |
| @@ -158,18 +158,6 @@ and is due to a technical limitation of bzr. The log data for those | |||
| 158 | revisions gets merged, the actual changes themselves do not. | 158 | revisions gets merged, the actual changes themselves do not. |
| 159 | http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00609.html ) | 159 | http://lists.gnu.org/archive/html/emacs-devel/2011-01/msg00609.html ) |
| 160 | 160 | ||
| 161 | In particular, check the ChangeLog entries (eg in case too many | ||
| 162 | entries have been included or whitespace between entries needs fixing). | ||
| 163 | bzrmerge tries to fix up the dates to today's date, but it only does | ||
| 164 | this where there are conflicts. If you used the changelog_merge plugin, | ||
| 165 | there won't be any conflicts, and (at time of writing) you will need | ||
| 166 | to adjust dates by hand. In any case, if someone made multiple | ||
| 167 | ChangeLog entries on different days in the branch, you may wish to | ||
| 168 | collapse them all to a single entry for that author in the trunk | ||
| 169 | (because in the trunk they all appear under the same date). | ||
| 170 | Obviously, if there are multiple changes to the same file by different | ||
| 171 | authors, don't break the logical ordering in doing this. | ||
| 172 | |||
| 173 | Notes: | 161 | Notes: |
| 174 | 162 | ||
| 175 | 1) If a file is modified in emacs-24, and deleted in the trunk, you | 163 | 1) If a file is modified in emacs-24, and deleted in the trunk, you |
| @@ -178,11 +166,25 @@ the trunk at all, use `bzr resolve path/to/file --take-this' to keep the | |||
| 178 | trunk version. Prior to bzr 2.2.3, this may fail. You can just | 166 | trunk version. Prior to bzr 2.2.3, this may fail. You can just |
| 179 | delete the .OTHER etc files by hand and use bzr resolve path/to/file. | 167 | delete the .OTHER etc files by hand and use bzr resolve path/to/file. |
| 180 | 168 | ||
| 181 | 2) Conflicts in autoload md5sums in comments. Strictly speaking, the | 169 | * Sanity-checking branch merges |
| 182 | right thing to do is merge everything else, resolve the conflict by | 170 | |
| 183 | choosing either the trunk or branch version, then run `make -C lisp | 171 | Inspect the ChangeLog entries (e.g. in case too many entries have been |
| 184 | autoloads' to update the md5sums to the correct trunk value before | 172 | included or whitespace between entries needs fixing). bzrmerge tries |
| 185 | committing. | 173 | to fix up the dates to today's date, but it only does this where there |
| 174 | are conflicts. If you used the changelog_merge plugin, there won't be | ||
| 175 | any conflicts, and (at time of writing) you will need to adjust dates | ||
| 176 | by hand. In any case, if someone made multiple ChangeLog entries on | ||
| 177 | different days in the branch, you may wish to collapse them all to a | ||
| 178 | single entry for that author in the trunk (because in the trunk they | ||
| 179 | all appear under the same date). Obviously, if there are multiple | ||
| 180 | changes to the same file by different authors, don't break the logical | ||
| 181 | ordering in doing this. | ||
| 182 | |||
| 183 | You may see conflicts in autoload md5sums in comments. Strictly | ||
| 184 | speaking, the right thing to do is merge everything else, resolve the | ||
| 185 | conflict by choosing either the trunk or branch version, then run | ||
| 186 | `make -C lisp autoloads' to update the md5sums to the correct trunk | ||
| 187 | value before committing. | ||
| 186 | 188 | ||
| 187 | * Re-adding a file that has been removed from the repository | 189 | * Re-adding a file that has been removed from the repository |
| 188 | 190 | ||