Previous Thread
Next Thread
Print Thread
Rate Thread
#286400 05/01/2002 12:18 PM
Joined: Aug 2000
Posts: 3,590
Moderator
Moderator
Offline
Joined: Aug 2000
Posts: 3,590
How To:



Fire up your trusty Beyond Compare and this is the first screen you come to:




Use the 2 "browse" buttons on the right to select the 2 directories with the files you want to compare. If you plan to be comparing this set of files multiple times, you can give the session a name so you can come back to it at a later date.








The next screen you'll come to looks like this:




Here is where the file names should match up. Using the color legend at the bottom, you can see that newer files are in red and files with no differences are in black. Files that do not have a match are in blue.








Choose a folder you want to compare/upgrade and this is the screen you come to next:




It goes a little deeper in and lists the files in the sub-directories to be compared.








Choose a file you want to compare/upgrade. This is where it gets interesting. BC will go through and compare the 2 files line by line and try to match what is the same - producing this screen:




Major differences (code changes) are highlighted in red, minor differences (spacing, capitalization differences) are in blue, and blank lines are in gray. Down the left-hand side there is a quick "jump-to" column and the particular section of code you are on is highlighted.

Finding a difference on one side, you use your mouse to highlight that section of lines and click on one of the arrows up top to copy it to the right or left, depending on which side has the newer files (if left is newer, you would want to copy those changes to the right). Pay careful attention to all differences, as missing a space, semi-colon, or other code changes can have disastrous effects on your files (you did make backups first, didn't you? good... wink ).

You can also double-click on lines to manually edit for extra-tedious changes that might be intertwined with a previously installed modification.

Once you've copied the differences from the newer file to the older, click on "File>>Save" and the changes are set. Uplload in ascii, check permissions, and see if anything's broke wink

There's quite a bit more to this than the quick rundown I've given you, but most of your time will be spent using the basic steps. Once you get the hang of it, you can file compare new versions in in minutes. smile

Sponsored Links
Entire Thread
Subject Posted By Posted
Beyond Compare The Team 04/30/2002 6:50 AM
Re: Beyond Compare The Team 05/01/2002 7:18 PM

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Posts: 70
Joined: January 2007
Forum Statistics
Forums63
Topics37,573
Posts293,925
Members13,849
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240430)