Background
I need to compare files across a couple of computers.
Issues
Primary Issue
I ended up being bothered enough with an issue and started reviewing the code.
To remediate the issue I needed to make code changes.
After a few hours of slugging along, the changes were well tested.
Secondary Issue
This week I started noticing lost of functionality.
The host that I am using has some missing some functionalities ( that I had added a while back ).
Unfortunately, the host that I made the early changes on did not not have the latest code.
Let us go remediate.
WinMerge
Let us use WinMerge to compare the codebases.
Artifacts
WinMerge is availed at https://winmerge.org ( Link )
Compare
Compare Directories
Outline
- Launch WinMerge
- Compare Folders
- Access Menu Item – File \Open
- Indicate Folders
- 1st File/Folder
- In our case folder
- 2nd File or Folder
- In our case folder
- 1st File/Folder
- Options
- Sub Folders
- Include Subfolders
- In our case, knowing the application and changes made, we are good with skipping subfolders
- Include Subfolders
- Sub Folders
- Compared Folders
- View
- Initially all outcomes are showm
- Matched files
- Unmatched files
- Once you have a good grasp of how the tool works, let us tune things up a bit
- Access the View Option
- To access the View Option please use the menu item View
- Show Identical Items ( Unchecked )
- This declutters our workspace
- Access the View Option
- Initially all outcomes are showm
- Results
- View
Images
Image – Folders – Initiate
Image – Folders – Compared
Image – Before
Image – After
Image – Folders – Options – View
Image – Folders – Compared – Results – Options
Summary
You never really want to have source code differences.
When you do, please see if WinMerge can help.
As always the earlier you detect the changes and make ammends the better of you will be.