1

I work on site that is drupal 7.20, I am sure previous team that worked on this project patch core in some places,I want to find all of patched they did, is there any way to find all patched they did? one of my idea is find a clean drupal 7.20 core and compare it but I am not sure this is good solution

2
  • I don't think there is any way straight way to do this you need to go through manual comparison, that's why hooks are provided so you need not to touch core. – Ashish Bairagi Jan 7 '15 at 8:07
  • As per my opinion you are on the right track comparison will work for you.You can use tool like WinMerge to find out patched files and then you can do whatever you want. – Ashish Bairagi Jan 7 '15 at 8:12
1

The Hacked! module will analyze the code base of the core and all contributed modules, compare each to a freshly downloaded version, and if the diff module is installed it will also generate a easy to read report showing all "hacks" to the code base.

This module scans the currently installed Drupal, contributed modules and themes, re-downloads them and determines if they have been changed. Changes are marked clearly and if the diff module is installed then Hacked! will allow you to see the exact lines that have changed.

Hacked! also provides drush integration so that you can see what files have changed from the command line.

2

You can use the Hacked! module

This module scans the currently installed Drupal, contributed modules and themes, re-downloads them and determines if they have been changed. Changes are marked clearly and if the diff module is installed then Hacked! will allow you to see the exact lines that have changed.

Hacked! also provides drush integration so that you can see what files have changed from the command line.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.