Thank You for your continued support and contributions!
Just wondering if anyone could give me or point me to a quick lesson on syncing patches. I have some experience with code, but don't know exactly what needs to be done to sync a patch.
How exactly do I know what is being rejected,
and how do i trace and fix the problem?
so I have to apply the patch, then reverse-apply it so I keep my clean source?
Check reject file, make necessary changes.
Make a new unified diff. I assume I need to use unpatched source when I do this?
No, you should work with 2 trees- one is the clean pristine (unpatched) source and one is a working copy (for example "rockbox-new")......Yes, you make it against the upatched source...
I don't think this is necessary. There is always a (hidden) clean tree available, as this is what SVN automatically does a diff against.
OK so just to make sure I know what I'm doing:1. I do a dry-run on a patch, and I see that it is out of sync. No reject files are created in a dry run, so I have to apply the patch, then reverse-apply it so I keep my clean source?2. Check reject file, make necessary changes.3. Make a new unified diff. I assume I need to use unpatched source when I do this?
You are correct, except for the reverse-apply.You apply the patch and see if there are any rejects.If so, then ignore the patch file (it has done it's job) and modify the relevant source files that the patch made changes to.Once it compiles cleanly, then do the diff to a (differently-named) .patch file in order to re-submit to Flyspray.It's a bit confusing, but you'll get there in the end.If all else fails, you can always do the revert -R command to remove all local edits and get back to a clean copy.
Page created in 0.097 seconds with 15 queries.