Get Latest misses files?

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

Moderator: SourceGear

Post Reply
mlippert
Posts: 252
Joined: Wed Oct 06, 2004 10:49 am
Location: Cambridge, MA

Get Latest misses files?

Post by mlippert » Wed Oct 26, 2005 9:23 am

I just did a Get Latest Version... and then started a Merge Branches... and when it checked the target directory it told me about several Renegade files. OK, I don't expect an automatic Get Latest to silently replace my Renegade files, so I canceled and ran Get Latest Version again, this time checking the Prompt for modified files checkbox.

I expected that I would then be prompted as to what I wanted to do for each of those Renegade files, but instead the Get Latest did nothing.

Code: Select all

[10/26/2005 11:06:08 AM] Getting latest version of $/MathcadClient/releases/Mathcad_13.1
[10/26/2005 11:06:15 AM] Finished get latest of $/MathcadClient/releases/Mathcad_13.1
Mike

ps I'm running
[10/26/2005 11:02:52 AM] Version Check: This Vault client is version 3.1.2.3511
[10/26/2005 11:02:52 AM] Version Check: Your Vault server is version 3.1.2.3511
I just ran another test. This time in addition to checking the prompt checkbox, I also changed the radio button from Attempt automatic merge to Overwrite. This time I got dialogs asking what I wanted to do with the Renegade files.

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

Post by dan » Wed Oct 26, 2005 9:48 am

This is probably a mis-matched expectation on what "prompt" means. Vault only prompts when a modified file is about to be overwritten, not when it encounters a locally modified file.

Since there are no new versions of the file on the server, there is nothing new to Get, so it doesn't touch the file. It only overwrites it when the "overwrite" option is specified, and in that case the prompt does come up before overwriting it.

If a new version had been on the server, the status of the file would have been Needs Merge rather than Renegade, and in that case it would have prompted.

Hope this makes sense,

mlippert
Posts: 252
Joined: Wed Oct 06, 2004 10:49 am
Location: Cambridge, MA

Post by mlippert » Wed Oct 26, 2005 10:18 am

Thanks Dan, I guess I understand the interpretation.

However, now I'd like to request that it be changed . :D

I'm trying to think if there are reasons that my expected interpretation would be a problem (perhaps to people working in edit, merge commit mode?)

Of course I think more user votes are needed (ie any lurkers please chime in with your opinion!)

Mike

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

Post by dan » Wed Oct 26, 2005 10:32 am

Yea, I'd like to see a few more votes before adding it as a request. Since a modfied file includes Renegade, Edited and Needs Merge, it isn't clear that the average user would want a prompt dialog coming up that often...

mlippert
Posts: 252
Joined: Wed Oct 06, 2004 10:49 am
Location: Cambridge, MA

Post by mlippert » Wed Oct 26, 2005 11:58 am

Interesting point. Although edited files are modified, I don't think they would require a prompt in my scenario either.

I'm requesting that if a modified file COULD be changed by the Get Latest operation with ANY of those radio button options selected, that a prompt dialog be displayed if the checkbox is checked.

I don't think (I hope not anyway) that an edited file will be overwritten by the current version in the repository when Overwrite is selected. I'd expect only a Needs Merge file or a Renegade file to be overwritten.

As a matter of fact, it would be even handier if I could request Vault to do an automatic merge for all files in Needs Merge state, and prompt me for all Renegade files.

Mike

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

Post by dan » Wed Oct 26, 2005 1:06 pm

That's the problem we have - Edited files are considered modified, so the prompt would need to apply to them as well.

Post Reply