On 14/05/10 19:06, Markus Heidelberg wrote:
Tony Mechelynck, 2010-05-14 05:11:
However, I have a few "home
patches", one of which adds an "Extra patch" near the end of version.c
-- with the patches distributed by ftp this was no problem, as this
change is after the added patches: patch doesn't even notice it. But
with Mercurial as distributed it meant hg pull, hg merge, hg commit (3
separate Mercurial functions) for each patch (or set of patches) pulled,
because Mercurial notices that version.c has been modified by Bram and
needs to be merged -- every time -- with the change I made.
You always have to merge, even if a patch from Bram doesn't touch the
same file as your local changes.
What I've done is made a "local changeset" and committed it, then found
out that for every new official patch it was the pull-merge-commit
rigmarole again. I expect that with the fetch extension it'll be a lot
smoother.
Maybe you want to enable the rebase extension and use "hg pull --rebase"
to keep your local changes on top of the history.
Markus
Update after Bram published changes up to 7.2.429:
- The fetch extension does exactly what I need, it even supplies a
sensible merge comment, viz. "Automated merge with
https://vim.googlecode.com/hg/". (From the docs: if there had been no
need to merge it would have done a pull-and-update instead, just like hg
pull -u)
- There was one file which I had forgotten to ignore: runtime/doc/tags,
which is rebuilt at every install (and mine is different from Bram's
because I have brought float-ext.txt into the local repo for consistency
with Bill McCarthy's changes to eval.c).
Best regards,
Tony.
--
Mind! I don't mean to say that I know, of my own knowledge, what there
is particularly dead about a door-nail. I might have been inclined,
myself, to regard a coffin-nail as the deadest piece of ironmongery in
the trade. But the wisdom of our ancestors is in the simile; and my
unhallowed hands shall not disturb it, or the Country's done for. You
will therefore permit me to repeat, emphatically, that Marley was as
dead as a door-nail.
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php