r.woithe@callassoftware.com writes:
to try patch is good idea, but why my files are more different than the patch file lines?
You have a different version from the version the patch was created on.
Should i rather copie the whole file?
No. The patches are generally very local changes which are easy to understand. If you copy a whole file, you are likely to run into internal API changes, such as new functions or additional arguments. These changes typically do cross file boundaries.
Example: in cli_members.py: def add_members(mlist, infp): but into the patch file it is -> def add_members(mlist, add_infp): but this line is not a patch line and should be the same or not?
That depends on whether the patch lines use "infp". If they do, you almost certainly need to change them too.
I didn't make the patch so I can't help you with the details, but I did want to warn against trying to copy files when patches don't match.
Steve