patch - How to effectively apply a non-revision-control diff with failing chunks? -
i have bunch of source code files need update/modify. have diff file contains necessary updates - except performed on slightly/somewhat different version of code; , it's not in same repository can't "rebase" diff. also, fibbing bit - not of these updates need apply as-is, of them, have manually review regardless.
if use patch -p(whatever) < changes.diff, half of chunks succeed , half fail. don't mind examining failures, patch not interactive procedure.
what effective way apply these changes appropriate control on i'm doing?
ps - i'm not asking specialized tool (i'm assuming there's intelligent way use have), if think should looking one, leave comment , i'll ask on sr.sx.
Comments
Post a Comment