Tropical Dream Posted August 27, 2010 Share Posted August 27, 2010 Hi I have modified core .PHP and .TPL files in Prestashop 1.2.4 and would like now to upgrade to 1.3.1. The problem is that I don't remember which core files I modified. I've tried to manually compare the differences file by file using TextWrangler (a text file comparison tool) but it's almost impossible, there are too many of them.Is there a software or program that could help me compare all my modified PHP and TPL files with the originals and tell me directly where are the differences? Link to comment Share on other sites More sharing options...
mohsart Posted August 27, 2010 Share Posted August 27, 2010 If you're on windows, maybe http://www.grigsoft.com/files.htm can help you/Mats Link to comment Share on other sites More sharing options...
MrBaseball34 Posted August 27, 2010 Share Posted August 27, 2010 Problem is, he has to do each file, individually. Link to comment Share on other sites More sharing options...
cactusman2 Posted August 27, 2010 Share Posted August 27, 2010 Winmerge is very good to compare files and folders. And it's free!http://winmerge.org/Just remember to use the winmergeU.exe which accept UTF-8. Link to comment Share on other sites More sharing options...
MrBaseball34 Posted August 27, 2010 Share Posted August 27, 2010 Winmerge is very good to compare files and folders. But does the folder compare compare the files IN the folder or just based on filename or filesize? Link to comment Share on other sites More sharing options...
21846657 Posted August 27, 2010 Share Posted August 27, 2010 @MrBaseball34I confirm that the folder comparing of WinMerge compares the lots of things of files in the folder (and subfolder if it is checked). I live long with it =)@Tropical DreamI also modify the countless files of PrestaShop script. I usually follow the SVN to do the updating work, which is quite time-consuming. Anyway I do this dirty work and test it at localhost for several days, before uploading it to the production site. Link to comment Share on other sites More sharing options...
MrBaseball34 Posted August 27, 2010 Share Posted August 27, 2010 What I have done is created a versioning system using one called FreeVCS.http://jedivcs.sourceforge.net/It is a simple versioning tool that you can install locally and use with mySQL. I used it before when I was a Delphi developer and it works for me to do versioning on my web stuff, too.Any changes I make get versioned in before uploading to production server. Link to comment Share on other sites More sharing options...
presta-dyr Posted August 27, 2010 Share Posted August 27, 2010 I have a UNIX background so I prefer a command line. On Windows I have installed Cygwin. Then I use "diff -r" to compare directories recursively. My favourite editor, Vim, has an option -d so it is easy to compare and edit files with differences. /Kjeld Link to comment Share on other sites More sharing options...
Tropical Dream Posted August 30, 2010 Author Share Posted August 30, 2010 thank you guys for your answers! Very useful answers! Link to comment Share on other sites More sharing options...
Tropical Dream Posted September 3, 2010 Author Share Posted September 3, 2010 Winmerge is excellent!! it gets me exactly the files that I modified! It searches within the folders, subfolders, php, css and tpl files. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now