Need help applying patch
Added by Snir Sh over 8 years ago
Hi all,
I'm using Redmine 3.1.0 on windows and need help applying a patch.
The patch i'm trying to apply is issue-reopen.patch
I tried to use the command "patch c:\path-to-patch\issue-reopen.patch" but it's taking forever.
The command "patch -p0 < c:\path-to-patch\issue-reopen.patch" does not work for me. I get the error -
"can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?"
Tried to use p1 as well. Same error.
Please assist.
Thanks a lot!
Replies (2)
RE: Need help applying patch
-
Added by Volker Kopetzky over 8 years ago
Where does your patch command come from? There might be better/graphical solutions:
http://stackoverflow.com/questions/517257/how-do-i-apply-a-diff-patch-on-windows
Secondary, what format is your patch file and where did you get it?
RE: Need help applying patch
-
Added by Snir Sh over 8 years ago
Volker Kopetzky wrote:
Where does your patch command come from? There might be better/graphical solutions:
http://stackoverflow.com/questions/517257/how-do-i-apply-a-diff-patch-on-windowsSecondary, what format is your patch file and where did you get it?
The command is from the bin folder C:\Bitnami\redmine-3.1.0-0\git\bin
I got the patch from - https://www.redmine.org/issues/7994
What do you mean by format?
I will check again the link you sent me.
One more thing -
I tried another patch and this time the command succeeded.
How can I use it know?
Thanks.