diff options
| author | Paul Eggert | 2011-02-14 21:41:07 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-02-14 21:41:07 -0800 |
| commit | fae95934b8edae3f538063e756ac799ed94313b2 (patch) | |
| tree | 3bb814c43cd50db54591bf685e5cb72b863b5833 /admin | |
| parent | 6d302144c218f12bd380344ae2d3ed87a6ea9327 (diff) | |
| parent | bb55f713d2e4ea089a861a257d7d000432642ce9 (diff) | |
| download | emacs-fae95934b8edae3f538063e756ac799ed94313b2.tar.gz emacs-fae95934b8edae3f538063e756ac799ed94313b2.zip | |
Merge from mainline.
Diffstat (limited to 'admin')
| -rw-r--r-- | admin/ChangeLog | 6 | ||||
| -rw-r--r-- | admin/bzrmerge.el | 4 | ||||
| -rw-r--r-- | admin/notes/bzr | 39 |
3 files changed, 47 insertions, 2 deletions
diff --git a/admin/ChangeLog b/admin/ChangeLog index ce7ff76aa2c..335fe1df921 100644 --- a/admin/ChangeLog +++ b/admin/ChangeLog | |||
| @@ -1,9 +1,13 @@ | |||
| 1 | 2011-02-10 Paul Eggert <eggert@cs.ucla.edu> | 1 | 2011-02-15 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 2 | ||
| 3 | Remove no-longer needed getloadavg symbols. | 3 | Remove no-longer needed getloadavg symbols. |
| 4 | * CPP-DEFINES (LOAD_AVE_CVT, LOAD_AVE_TYPE, FSCALE, KERNEL_FILE): | 4 | * CPP-DEFINES (LOAD_AVE_CVT, LOAD_AVE_TYPE, FSCALE, KERNEL_FILE): |
| 5 | (LDAV_SYMBOL): Remove. | 5 | (LDAV_SYMBOL): Remove. |
| 6 | 6 | ||
| 7 | 2011-02-12 Glenn Morris <rgm@gnu.org> | ||
| 8 | |||
| 9 | * bzrmerge.el (bzrmerge-resolve): Fix bzr revert call. | ||
| 10 | |||
| 7 | 2011-02-05 Glenn Morris <rgm@gnu.org> | 11 | 2011-02-05 Glenn Morris <rgm@gnu.org> |
| 8 | 12 | ||
| 9 | * bzrmerge.el (bzrmerge-warning-buffer): New constant. | 13 | * bzrmerge.el (bzrmerge-warning-buffer): New constant. |
diff --git a/admin/bzrmerge.el b/admin/bzrmerge.el index 061af80b6cf..77e64a862c8 100644 --- a/admin/bzrmerge.el +++ b/admin/bzrmerge.el | |||
| @@ -187,7 +187,9 @@ are both lists of revnos, in oldest-first order." | |||
| 187 | (cond | 187 | (cond |
| 188 | ((member file '("configure" "lisp/ldefs-boot.el" | 188 | ((member file '("configure" "lisp/ldefs-boot.el" |
| 189 | "lisp/emacs-lisp/cl-loaddefs.el")) | 189 | "lisp/emacs-lisp/cl-loaddefs.el")) |
| 190 | (call-process "bzr" nil t nil "revert" file) | 190 | ;; We are in the file's buffer, so names are relative. |
| 191 | (call-process "bzr" nil t nil "revert" | ||
| 192 | (file-name-nondirectory file)) | ||
| 191 | (revert-buffer nil 'noconfirm)) | 193 | (revert-buffer nil 'noconfirm)) |
| 192 | (t | 194 | (t |
| 193 | (goto-char (point-max)) | 195 | (goto-char (point-max)) |
diff --git a/admin/notes/bzr b/admin/notes/bzr index cb2a1bd4e4f..11f0af17a3b 100644 --- a/admin/notes/bzr +++ b/admin/notes/bzr | |||
| @@ -65,11 +65,26 @@ removes a file, then remove the corresponding files by hand. | |||
| 65 | The following description uses bound branches, presumably it works in | 65 | The following description uses bound branches, presumably it works in |
| 66 | a similar way with unbound ones. | 66 | a similar way with unbound ones. |
| 67 | 67 | ||
| 68 | 0) (First time only) Get the bzr changelog_merge plugin: | ||
| 69 | |||
| 70 | cd ~/.bazaar/plugins | ||
| 71 | bzr branch lp:bzr-changelog-merge | ||
| 72 | mv bzr-changelog-merge changelog_merge | ||
| 73 | |||
| 74 | This will make merging ChangeLogs a lot smoother. It merges new | ||
| 75 | entries to the top of the file, rather than trying to fit them in | ||
| 76 | mid-way through. | ||
| 77 | |||
| 68 | 1) Get clean, up-to-date copies of the emacs-23 and trunk branches. | 78 | 1) Get clean, up-to-date copies of the emacs-23 and trunk branches. |
| 69 | Check for any uncommitted changes with bzr status. | 79 | Check for any uncommitted changes with bzr status. |
| 70 | 80 | ||
| 71 | 2) M-x cd /path/to/trunk | 81 | 2) M-x cd /path/to/trunk |
| 72 | 82 | ||
| 83 | The first time only, do this: | ||
| 84 | cd .bzr/branch | ||
| 85 | Add the following line to branch.conf: | ||
| 86 | changelog_merge_files = ChangeLog | ||
| 87 | |||
| 73 | 3) load admin/bzrmerge.el | 88 | 3) load admin/bzrmerge.el |
| 74 | 89 | ||
| 75 | 4) M-x bzrmerge RET /path/to/emacs-23 RET | 90 | 4) M-x bzrmerge RET /path/to/emacs-23 RET |
| @@ -119,3 +134,27 @@ right thing to do is merge everything else, resolve the conflict by | |||
| 119 | choosing either the trunk or branch version, then run `make -C lisp | 134 | choosing either the trunk or branch version, then run `make -C lisp |
| 120 | autoloads' to update the md5sums to the correct trunk value before | 135 | autoloads' to update the md5sums to the correct trunk value before |
| 121 | committing. | 136 | committing. |
| 137 | |||
| 138 | * Re-adding a file that has been removed from the repository | ||
| 139 | |||
| 140 | It's easy to get this wrong. Let's suppose you've done: | ||
| 141 | |||
| 142 | bzr remove file; bzr commit | ||
| 143 | |||
| 144 | and now, sometime later, you realize this was a mistake and file needs | ||
| 145 | to be brought back. DON'T just do: | ||
| 146 | |||
| 147 | bzr add file; bzr commit | ||
| 148 | |||
| 149 | This restores file, but without its history (`bzr log file' will be | ||
| 150 | very short). This is because file gets re-added with a new file-id | ||
| 151 | (use `bzr file-id file' to see the id). | ||
| 152 | |||
| 153 | Insteading of adding the file, try: | ||
| 154 | |||
| 155 | bzr revert -rN file; bzr commit | ||
| 156 | |||
| 157 | where revision N+1 is the one where file was removed. | ||
| 158 | |||
| 159 | You could also try `bzr add --file-ids-from', if you have a copy of | ||
| 160 | another branch where file still exists. | ||