How to apply a patch using svn export?

I would like to use svn to apply a patch from one version of Joomla to another. I use mac with versions installed but not against using svn on the command line. So far I have figured out how to generate a list of files that have been changed from one version to another, but I want to export these changed files to my working directory. How can I do that? Do I need to save the diff output and process it using awk, or is there a command line option to transfer these files to the export command?

The diff command I'm using: svn diff http://joomlacode.org/svn/joomla/development/releases/ 1.5@11255 http://joomlacode.org/svn/joomla/development/releases/ 1.5@11410 - To summarize

+3
source share
2 answers

To create a fix:

svn diff > ~/patch.diff

To apply the use of the patch:

patch -p0 -i ~/patch.diff
+12
source

I'm not sure about setting up your current repository and how flexible you have, but following the process of removing a provider , as a detail in the red book, a bean can help.

0
source

Source: https://habr.com/ru/post/1704733/


All Articles