views:

76

answers:

1

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.

A: 

Accepted answer to this question this question is a good way to deal with the issue.

Antony Hatchkins