Source Gear Comparison in Repository
Moderator: SourceGear
Source Gear Comparison in Repository
Hello I am comparing our repository against a folder on the network (which has the same files as in the repository) but when ever I do a compare, it shows that all the files are missing in the repository?
Depending on where you invoke the folder diff from, it may be trying to diff your working folder against the network drive, and not the repository folder itself.
The Show Diff from the main window invokes diff on the working folder. You need to invoke history on the file and choose the latest version of the folder to diff the repository folder against something else. Sorry it is a bit confusing...
The Show Diff from the main window invokes diff on the working folder. You need to invoke history on the file and choose the latest version of the folder to diff the repository folder against something else. Sorry it is a bit confusing...
Yes, the screen shot shows that it is the working folder that is being compared against the other folder, not the repository folder. If you want to compare a folder against the current version in the repository, you need to either invoke history and do a diff from there on the current version, or do a Get Latest to your working folder and then invoke Diff in the same way you are invoking it now.
You might need to attach a screen shot of the diff tool for me to see what is going on.
Note that by default, the sg diff tool only displays files that are different, so if you compare the working folder against the repository folder, all of the binary and generated files in the working folder will show up as "missing" in the repository, and none of the files that match will appear at all. If you want to see all the files being compared, you can click on the "Eq" icon ("Show identical files"), and all files will be displayed (the default value for this can be changed in Tools->Options in the diff window.
Note that by default, the sg diff tool only displays files that are different, so if you compare the working folder against the repository folder, all of the binary and generated files in the working folder will show up as "missing" in the repository, and none of the files that match will appear at all. If you want to see all the files being compared, you can click on the "Eq" icon ("Show identical files"), and all files will be displayed (the default value for this can be changed in Tools->Options in the diff window.