|
From: | Paul Eggert |
Subject: | getting emacs-25-to-master merges working again |
Date: | Sun, 29 Nov 2015 21:25:41 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
The main problem in getting merging to work again is that changes to ChangeLog.2 in emacs-25 will collide with changes to ChangeLog.2 in the master. The attached patch attempts to fix this by renaming ChangeLog.2 to ChangeLog-25.0 in emacs-25, and to create a new file ChangeLog-25.1 in master, such that 'make change-history' updates ChangeLog-25.0 in emacs-25 and updates ChangeLog-25.1 in master. That way, the two sets of histories ordinarily shouldn't overlap and changes to one shouldn't collide with the other.
Undoubtedly there will be kinks in this process that need to be ironed out, e.g., when backporting changes from master to emacs-25. One way to iron them out will be to review and/or improve this patch. Another is to install this patch, do a merge, and deal with the resulting fallout. Either will take nontrivial work.
I'm thinking, though, that there should be a better way, by using the --cherry option of 'git log', and by generating ChangeLog.2 and/or ChangeLog-25.1 specially during a merge. I haven't had time to investigate this yet, though.
emacs-25-merge.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |