On 10/31/07, Andrew <[EMAIL PROTECTED]> wrote: > > I'm trying to apply patches to my Trac install. I'm running Trac on a > Windows system and have installed the patch command, but I keep > getting hunk failed error messages as below: > > patch --binary -p0 < trac-0.10.3-report-plugin.patch > patching file trac/ticket/report.py > Hunk #1 FAILED at 32. > Hunk #2 FAILED at 131. > Hunk #3 FAILED at 386. > Hunk #4 FAILED at 412. > 4 out of 4 hunks FAILED -- saving rejects to file trac/ticket/ > report.py.rej > > patch --binary -p0 < trac-no-notify-updater-2247.patch > patching file trac/ticket/notification.py > Hunk #1 FAILED at 247. > 1 out of 1 hunk FAILED -- saving rejects to file trac/ticket/ > notification.py.rej > > If someone could point out what I'm going wrong that would be great. > > Also do the patches patch the live system or the install files?
Well, what version of Trac are you trying to patch? The first one says that it's for 0.10.3. If you're not patching 0.10.3 then the results cannot be guaranteed. Same with the other one--whatever documentation it came with should specify which version of Trac it's diffed against. As for which files you're patching, that entirely depends on what your current working directory is when you run patch. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
