I have to code check work of new developers.
When they have finished a task, I call Show History, filtering on the user and task# (in comments).
Let say the guy made 3 check-in on a file. Original version was 1, so I see in the History Explorer a line for check-in version 2, 3 and 4.
I want to diff between original version and the last version he did check-in (version 1 and 4) from the History Explorer, but I cannot figure how to do this, is it possible ? If I could call Show History on a file from within the History Explorer, that would be enough for me.
Guillaume.
Diff in History Explorer
Moderator: SourceGear
Re: Diff in History Explorer
Select the two versions you want by using the CTRL key, then right-click and select Diff. Or, you can right-click version 1, select Diff, and click the option to Diff against the current version in the repository.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Diff in History Explorer
The original version (ie: the version prior to the first check-in, version 1 in my example) is not listed, so I cannot select it.Select the two versions you want by using the CTRL key, then right-click and select Diff. Or, you can right-click version 1, select Diff, and click the option to Diff against the current version in the repository.
Re: Diff in History Explorer
The add should be your version one. It sounds like the same user didn't perform the add, right? You will want to either run another history query on just that file so that you have version one available to manipulate, or change your current query to open up the filters to allow version 1 to show. The issue is that the filter you've applied isn't going to show that version.the version prior to the first check-in
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Diff in History Explorer
Right.The add should be your version one. It sounds like the same user didn't perform the add, right?
As I said, I'm filtering on user and on a task # entered into the check-in comment, so only files modified by this user for the task # are listed.
So if the developer started to work on a file version 10, and made 3 check-in, I would see only version 11, 12 and 13 in the History Explorer.
When I check what he has done, I don't want to diff every check-in of a specific file, I want to see his changes to the file as a whole, a "before&after". To do this I need to diff between version 10 and 13.
Yes, but I would like to do this from within the History Explorer, which i can't.You will want to either run another history query on just that file so that you have version one available to manipulate.
It is quite cumbersome to go back into the main screen and manually search the file, then call its history, as I may have dozens of different files to code check.
An other alternative could be to allow to Diff a file version against another specific version. I could then select the most recent check-in version in the History Explorer (ex: 13), call Diff, then manually select version to diff against (ex: 10).
Re: Diff in History Explorer
From the history explorer you can go to Query - Filter/Sort and change the criteria to add the other user. You could also get the old version to your disk and then diff against the working folder.
It sounds like though that a feature request will get what you are envisioning though, so I have logged a feature request.
Thanks for your feedback.
F: 14883
It sounds like though that a feature request will get what you are envisioning though, so I have logged a feature request.
Thanks for your feedback.
F: 14883
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support