Get latest version bug.

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

Moderator: SourceGear

Post Reply
pathurun
Posts: 6
Joined: Fri Feb 25, 2005 6:35 pm

Get latest version bug.

Post by pathurun » Tue Mar 01, 2005 9:52 am

I created a new project and successfully checked in the proj into the repository. Then from another developers machine i did get latest and everything is good so far.
Now from my machine i created a Test folder under the project and added a class and checked in.
Now i go to another developer's machine and i did get latest on the project but i do not see the folder Test being downloaded on to the developers machine. I am wondering if this is a bug or is there some other way to do this. Please let me know.

Also i have posted another post recently but i am not able to find it, how do i find the posts which were done by me.
Thanks.

erenken
Posts: 11
Joined: Sat Dec 04, 2004 1:28 am

Get Latest Version

Post by erenken » Tue Mar 01, 2005 2:34 pm

We have noticed some serious problems with Get Latest Version on our end also. Something we noticed is that Vault seems to have problems getting the latest version from the Solution of a project. We are using VS 2003 and C#. We have had better results when you collapse all your projects in a slution and then select all the projects in the solution explorer right click on them and then select Get Latest Version.

I have also had problems where I know a file was not the correct version on this machine becuase I would do a Compare Version to the last version in Vault and it would show differences, but when I would do a get latest version on that file nothing would happen. It has been very hard to get the specific steps to the problem, but I have seens the issues myself.

pathurun
Posts: 6
Joined: Fri Feb 25, 2005 6:35 pm

Any word from support please.

Post by pathurun » Tue Mar 01, 2005 3:31 pm

We are in the process of evaluating Source gear for 10 licenses. The response is not encouraging from your support. Will really appreciate if some one can let us know what is going on with this.
Thanks.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Tue Mar 01, 2005 3:51 pm

pathurun:

There was not enough information in your post to fully understand what is happening.

What version of Vault are you using?
Is this the Vault GUI client or the Vault IDE client ( VS.Net )?

If the Vault GUI client, do you see the new Folder within the Tree structure?

If the Vault IDE / VS.Net 2003 client, did you check in the project file? Did the user do a Get on the Project file?


On the topic of support, there are numerous ways to get help. If you need to contact someone for pre-sales support, you may want to have a look at the options for contacting Tech support on the SourceGear Technical Support Information page - http://www.sourcegear.com/company/support.html
Jeff Clausius
SourceGear

pathurun
Posts: 6
Joined: Fri Feb 25, 2005 6:35 pm

More info.

Post by pathurun » Tue Mar 01, 2005 4:55 pm

Jeff
Thanks for your reply.
We are using 3.0.2 version.

::If the Vault IDE / VS.Net 2003 client, did you check in the project file?
::Did the user do a Get on the Project file?

Yes and yes.

Here are some of the steps:
Step 1: Created a folder called Test in my project .
Step 2: Added UserControl1.ascx in this folder.
Step 3: Checked in the project.
Step 4: Go to another developer machine and open the solution.
Step 5: Select the proj right click and select Get Latest Version.

Don't see new folder and the new file added:
Also i got this erro on the other developers machine:

---------------------------
SourceGear Vault
---------------------------
The Get Latest Version operation failed for the following file : $/box/boxUI/Modules/box.UI/box.UI.csproj. Automatic Merge Failed.
---------------------------
OK
---------------------------

Please let me know if you have any suggestions.
Thanks.

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

Post by dan » Tue Mar 01, 2005 5:18 pm

When a file status is needs merge, it means that another user has modified the file since you began editing it (thus, the changes you have applied and the other user has applied need to be merged together).

In this case, if the other user had modifed box.UI.csproj, then this makes sense. It can't get .csproj because it needs merged, and therefore can't get the new files that were added to .csproj. If the changes can't be automatically merged, someone will need to manually look at the files (through the Show Merge command in the Vault GUI client), and determine which changes should be applied.

If the other user modified the .csproj in error, then simply overwriting that project file with the server changes will correct the problem.

pathurun
Posts: 6
Joined: Fri Feb 25, 2005 6:35 pm

Thanks.

Post by pathurun » Tue Mar 01, 2005 5:53 pm

Dan Thanks for the reply. I think that fixed it.
Here is what i did:
Step 1: From the other developers machine i opened Vault client and selected the .csproj which indicated needs merge and overwritten it manually.
If you have anything else in mind. Please let me know.
Thanks.

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

Post by dan » Tue Mar 01, 2005 7:32 pm

Great - glad you are up and running.

erenken - can you check the Output pane in VS when this happens to you as well? It might display why the files are not retrieved. Does it happen when project files are changed?

erenken
Posts: 11
Joined: Sat Dec 04, 2004 1:28 am

Get Latest

Post by erenken » Tue Mar 01, 2005 7:43 pm

We do watch the Output window when we have problems. It just says it is starting and then it says it has stopped. We are using Version 3.0.0 and we are using it in VS 2003 inside the IDE.

Eric

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

Post by dan » Tue Mar 01, 2005 8:15 pm

You might try turning on client side logging and see if that reveals anything. You should only turn on the class for Get though, and probably try to remember to clear the log out a lot, as it will grow pretty big.

You may want to upgrade to the latest client as well, as it has a few more error cases logged. See http://support.sourcegear.com/viewtopic.php?t=2146 for how to set up logging.

Post Reply