Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By decola on
Hi all!
I run drupal 4.7.1. I'd like upgading to 4.7.2 and I have full control on my Linux server.
How can I use the two patches?
The patches touch only the following files: INSTALL.txt, includes/file.inc, modules/upload.module, modules/taxonomy.module. Is it right?
So If I have hacked other files, the upgrading will not cause disasters, is it right?
Thanks!
Comments
Test it out locally
If you would test it out locally, or on a backup site first, you'd pretty much be able to answer the question yourself =)
You're correct, however, that if a patch only touches a few files all your hacks are safe. In fact, patch is so smart that it will rarely destroy your hacks to begin with. If you've hacked a module in such a way that the patch cannot apply, it will fail and tell you so. There is a high probability that even if you had hacked upload and taxonomy, that the patch would still apply without a problem (just as long as you hadn't changed the bits it is trying to change). That's why patch is so great and widely used.
- Robert Douglass
-----
My Drupal book: Building Online Communities with Drupal, phpBB and WordPress
Thanks a lot,
Thanks a lot, robertDouglass.