Patching Python files
Hi all,
I modified some existing Python files. Now I like to write some patching script which patches identical files with my modifications. I could of course pull a dirty trick by overwriting the originals by the new files, but I'd prefer to use a pretty patching technique. I think the linux "patch" tool can help me here, but I realy can't figure out how to do this in a good way.
Can anybody give me a good tip or perhaps some tutorial how to make good patches? Of course, information on other techniques is interesting too.
Thanks in advance, Robin
|