aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorGlenn Morris2011-01-15 13:47:46 -0800
committerGlenn Morris2011-01-15 13:47:46 -0800
commit9aafb22b666bd449386c1d0354da807cb845e4ba (patch)
tree4a9e9fa41d812d07b4fff92cddd319f23464495c /admin
parent6fffc9003cf1a2677f04f6bc53ee96029816b3a9 (diff)
downloademacs-9aafb22b666bd449386c1d0354da807cb845e4ba.tar.gz
emacs-9aafb22b666bd449386c1d0354da807cb845e4ba.zip
* admin/notes/bzr: Add an idiot's guide to merging between branches.
Diffstat (limited to 'admin')
-rw-r--r--admin/notes/bzr29
1 files changed, 29 insertions, 0 deletions
diff --git a/admin/notes/bzr b/admin/notes/bzr
index c66cdd98a3c..440487e9160 100644
--- a/admin/notes/bzr
+++ b/admin/notes/bzr
@@ -38,3 +38,32 @@ Or use shelves; or rebase; or do something else. See the thread for
38yet another fun excursion into the exciting world of version control. 38yet another fun excursion into the exciting world of version control.
39 39
40http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00086.html 40http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00086.html
41
42* How to merge changes from emacs-23 to trunk
43
44The following description uses bound branches, presumably it works in
45a similar way with unbound ones.
46
471) Get clean, up-to-date copies of the emacs-23 and trunk branches.
48Check for any uncommitted changes with bzr status.
49
502) M-x cd /path/to/trunk
51
523) load admin/bzrmerge.el
53
544) M-x bzrmerge RET /path/to/emacs-23 RET
55
56It will prompt about revisions that should be skipped, based on the
57regexp in bzrmerge-missing. If there are more revisions that you know
58need skipping, you'll have to do that by hand.
59
605) It will stop if there are any conflicts. Resolve them.
61Using smerge-mode, there are menu items to skip to the next conflict,
62and to take either the trunk, branch, or both copies.
63
646) After resolving all conflicts, you might need to run the command
65again if there are more revisions still to merge.
66You can commit either before you do this (eg if you had a lot of
67conflicts to resolve and don't want to get confused), or refrain from
68committing until bzrmerge has merged all revisions.
69