I have a project, for example WORDPRESS. and I am use SVN.
I have following copies:
A. WP2.6 from wordpress.org
B. WP2.6, I modify some core files (add/del/change some files' code)
C. WP2.7 from wordpress.org
I would like update Version A to C and keep the changes of version B.
some of my changes maybe like that:
Version A code:
123 123
Version B code:
123 x 123
Version C code:
123 123 123
expected final version:
123 x 123 123
How can I make/apply patch to this project ? any faster/easier way if I have 100+ different files
maybe I thinking in wrong way. please suggest to make it right. thanks.
(Simplistic Answer): There's no fully automatic way to do this - you will need to branch and merge, and merging will mean you have to look at your modifications, and test them.
To illustrate the sort of difficulty that can't normally be solved automatically, consider this: in your example, the hoped-for final version could be either of these:
123 x 123 123
123 123 x 123
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With