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.
Diff... from history explorer context menu doesn't work
Moderator: SourceGear
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)?
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)?
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.
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
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).
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).