Source Gear Comparison in Repository

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
nadya

Source Gear Comparison in Repository

Post by nadya » Wed Aug 18, 2004 12:06 pm

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?

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Aug 18, 2004 12:21 pm

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...

nadya

Post by nadya » Wed Aug 18, 2004 1:05 pm

We are accessing via to diff tool in the Sourcegear Vault 2.0 menu. Attached is the screen shot. We have the entire project highlighted when we run this.
Attachments
sourcegeardiff.GIF
sourcegeardiff.GIF (17.59 KiB) Viewed 5342 times

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Wed Aug 18, 2004 1:49 pm

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.

nadya

Post by nadya » Wed Aug 18, 2004 3:36 pm

I want the working folder to be compared to the respository

nadya

Post by nadya » Wed Aug 18, 2004 4:14 pm

To explain a bit more, what I see the problem being is that the working folder I have setup has the same files as the stuff in the repository, but when I do a compare to repository it is show up that everything is missing in the repository

dan
Posts: 2448
Joined: Wed Dec 17, 2003 5:03 pm
Location: SourceGear
Contact:

Post by dan » Thu Aug 19, 2004 7:35 am

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.

Post Reply