Resolving patch conflicts manually

Posted by Antony Hatchkins on Stack Overflow See other posts from Stack Overflow or by Antony Hatchkins
Published on 2010-03-18T14:46:54Z Indexed on 2010/03/18 19:41 UTC
Read the original article Hit count: 330

Filed under:
|
|
|

I've downloaded a patch from some site and trying to apply it (twisted, python web framework).

Several hunks failed.

How do I automate manual patching process using vim?

Details:

I'm trying to automate the process of applying failed hunks.

Many tiny changes, each about adding/removing 1-2 chars. Difficult to see.

I Have to create two new temporary files and :diffthis them manually to see the difference. Yes, outside VCS. I can imagine a neat way to deal with it using git, but I would prefer to avoid creating git repo for that.

© Stack Overflow or respective owner

Related posts about vi

Related posts about vim