Diff... from history explorer context menu doesn't work

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

Moderator: SourceGear

Post Reply
cdaniel
Posts: 27
Joined: Mon Jun 07, 2004 12:07 pm
Location: Serious Magic

Diff... from history explorer context menu doesn't work

Post by cdaniel » Fri Sep 03, 2004 12:02 pm

I'm using the 2.0.4 client against a 2.0.3 server.

I was just poking around in my repository, looking at a recursive folder history starting a few folders down from the root. All is well - I see all the history I would expect.

For grins, I right-clicked on an item in the history to see if there was a context menu - sure enough. Choosing Diff... for any item in the history results in an error:

The requested version (nn) of $/A/B.C can not be found in the respository...

The problem is that $/A/B.C is not the correct path to the item I clicked on! Instead, it should be something like $/A/1/2/3/4/5/B.C. Something's missing here!

In this example case, I actually requested history on $/A/1/2/3, so the root of the history is not clearly related to the portion of the path that's missing.
-cd

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

Post by dan » Fri Sep 03, 2004 1:14 pm

Hmm. Is this true of any history diff anywhere in the repository, or does it only happen on one or some folders that you have invoked history on?

Also, which diff option are you choosing (e.g., prev version, current version, etc).

One other thing: Does the version requested actually exist in the repository (e.g., if you do a history on that item does it display that version in the history list)?

cdaniel
Posts: 27
Joined: Mon Jun 07, 2004 12:07 pm
Location: Serious Magic

Post by cdaniel » Fri Sep 03, 2004 2:44 pm

Of course I haven't tried every possible node in the repository, but the few I tried all exhibited this behavior.

When I choose Diff... from the context menu, there's no option to choose what to diff against - the error happens before that dialog appears (that's what I was expecting to see). Elsewhere in the client (i.e. if I just choose Show Differences on a file) I have it set to "Current version in the respository".

The version mentioned in the error message was always the latest revision of the file and does exist.

Another key piece that I just realized while trying to repro this error: It only fails if I specified a date range for the folder history. When I don't restrict the dates, diff works as expected.
-cd

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

Post by dan » Fri Sep 03, 2004 3:51 pm

Can you play around with the date ranges, and see if it is related to a particular date?

Guest

Post by Guest » Fri Sep 03, 2004 4:18 pm

I haven't been able to narrow down a particular range of dates, but I can say that some date ranges beahve correctly and other date ranges don't. For example, if I choose 7/1/2004-7/31/2004, everything's fine, but if I choose 7/25/2004 - 7/31/2004, then it misbehaves.

I just noticed as well - when it behaves incorrectly, the 'Name' column of the History Explorer has only the file names. When it works correctly, the 'Name' column contains the complate repository path (for the entire grid).

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

Post by dan » Sun Sep 05, 2004 9:35 pm

This is a strange error. Try the command line client using the same history filter criteria and see whether it returns the same names of the files in the same way, which might point to whether it is a client or a server side issue.

Post Reply