Exception using diff on branch - Vault version 6.1.0.

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

Moderator: SourceGear

Post Reply
peter.zalevski
Posts: 10
Joined: Wed Mar 17, 2010 6:44 pm

Exception using diff on branch - Vault version 6.1.0.

Post by peter.zalevski » Thu Sep 19, 2013 3:12 pm

Testing the branch functionality I received this error on doing a diff on the files in the branch.

Exception of type 'VaultClientOperationsLib.GetLatestVersionFailedException' was thrown.


Here are the steps to reproduce.
1. Create new folder called "Original" and file "code.cs"
2. Change code.csv and check-in. repeating again for a 2nd change/check-in
3. Branch "Original" folder to a new folder called "New branch"
4. Go to folder for "New branch" and for file code.cs, show history, then choose diff. The above exception will appear.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Exception using diff on branch - Vault version 6.1.0.

Post by lbauer » Fri Sep 20, 2013 8:11 am

I wasn't able to reproduce this.
show history, then choose diff.
What diff options are you using? Are you diffing two historical versions of code.cs?

Did you change the name of the file, or is this a typo:
Change code.csv and check-in.
Are there any errors in the the Vault Server log when you experience the error?

The Vault server log is called sgvault.log and is in %windir%\temp\sgvault on the server machine.
Linda Bauer
SourceGear
Technical Support Manager

peter.zalevski
Posts: 10
Joined: Wed Mar 17, 2010 6:44 pm

Re: Exception using diff on branch - Vault version 6.1.0.

Post by peter.zalevski » Fri Sep 20, 2013 11:55 am

Correct that was a typo.

There is nothing logged in sgvault.log in the server.

In the history it fails immediately after right click, diff. See attached screen capture in case I'm not clear.
Something else I noticed is that it fails doing the diff on the versions (3 for example) before the branch (version 4). But it works for the updates after the branch (version 6)
Attachments
vault exception.GIF
vault exception.GIF (105.96 KiB) Viewed 9146 times

GregM
Posts: 485
Joined: Sat Mar 13, 2004 9:00 am

Re: Exception using diff on branch - Vault version 6.1.0.

Post by GregM » Mon Sep 23, 2013 11:06 am

My support case on this issue is 226328 and it resulted in bug 1345.

"Basically, you can't diff historical version from before the branch against the repository or the working folder."

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Exception using diff on branch - Vault version 6.1.0.

Post by lbauer » Wed Sep 25, 2013 4:15 pm

This was Bug 13450 -- (typo in my email to you, Greg) and is still open. I've added your comments.
Linda Bauer
SourceGear
Technical Support Manager

ewrankin
Posts: 11
Joined: Wed Jan 20, 2010 7:06 am

Re: Exception using diff on branch - Vault version 6.1.0.

Post by ewrankin » Thu Feb 26, 2015 7:09 am

lbauer wrote:This was Bug 13450 -- (typo in my email to you, Greg) and is still open. I've added your comments.
Was this ever resolved, I'm having this exact problem running Vault Professional 7.1.0 (32028)

Post Reply