On 2012-09-02, ZyX wrote:
> > It's not outdated. ":help development" still says, 'For sending
> > patches a context diff "diff -c" is preferred.'
>
> The fact that this is help does not mean it is not outdated: “hg
> annotate” says it was last modified in revision 7 (14 June 2004,
> tag v7-0001). If you check the list you will see that on first
> place there is “hg diff” output, on the second is “hg diff --git”;
> I prefer “hg export” or “hg diff”. “hg diff --git” is the only
> option if someone needs to add binary files.
I meant only that the statement of preference for context diffs was
not outdated. I assumed that if Bram had changed his preference, he
would have updated the help entry.
Using Mercurial does not preclude the use of context diffs. I have
the following in my ~/.hgrc,
[extdiff]
cmd.cdiff = diff
opts.cdiff = -c
and use 'hg cdiff' when generating patches for Vim.
Regards,
Gary
--
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