Diff Files

diff filename [-v version1 -V version2]

Finds the differences between different versions of the specified file. To specify the versions, enter one of the following:

diff filename

Determines the latest changes to filename. MVC finds differences between the source file version retrieved from the log file and the last version in the log file. If the last version in the log file is the same as the source file, it uses the next to the last version instead. If the source file does not exist, MVC compares the last version in the log file to the next to the last version in the log file.

diff filename -v version

Compares the latest version of filename against the specified version. MVC considers the source file the latest version. If the source file does not exist, the latest version in the log file is used.

diff filename -v version1 -V version2

Compares version1 of filename to version2 of filename.

Related topic:


Previous

Next



Copyright © 1999, Green Hills Software. All rights reserved.