Vault client API needs a 'get local version'
Moderator: SourceGear
-
- Posts: 4
- Joined: Fri Apr 06, 2012 3:27 pm
Vault client API needs a 'get local version'
We would like to be able to get the local version of a file as well as the remote version (the call to do that works nicely). The client obviously knows this, since it is displayed in the UI.
Thanks,
Charles
Thanks,
Charles
Re: Vault client API needs a 'get local version'
I'm not sure I understand. Can you explain further what you mean?
A Get will retrieve from the Vault server no matter what the local version is at. If you go into history and get a historical version, then you can get the same version you have in the history. There is no function in the Vault GUI client to "get local version."
A Get will retrieve from the Vault server no matter what the local version is at. If you go into history and get a historical version, then you can get the same version you have in the history. There is no function in the Vault GUI client to "get local version."
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Vault client API needs a 'get local version'
There are "Local Version" and "Remote Version' columns in the client that display the current version number in the repository and the last version retrieved from the repository.
Re: Vault client API needs a 'get local version'
So, you want a Get that will retrieve just the same version you currently have on disk, rather than performing the Get from history, is that correct?
There is a GetOperations.ProcessCommandGetVersion Method that will get any version you want, but it sounds like you might want it to detect the version on disk. Is that what you're looking for? If that's the case, there was a discussion on how to do that posted here: http://support.sourcegear.com/viewtopic ... ion#p66752.
I can still put in a feature request, but I'm just trying to be clear about what is wanted.
There is a GetOperations.ProcessCommandGetVersion Method that will get any version you want, but it sounds like you might want it to detect the version on disk. Is that what you're looking for? If that's the case, there was a discussion on how to do that posted here: http://support.sourcegear.com/viewtopic ... ion#p66752.
I can still put in a feature request, but I'm just trying to be clear about what is wanted.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Vault client API needs a 'get local version'
Sounds to me like he just wants the numbers.
Re: Vault client API needs a 'get local version'
Thanks.
cturner@vsea: Do you want to weigh in on what GregM had to say?
cturner@vsea: Do you want to weigh in on what GregM had to say?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 4
- Joined: Fri Apr 06, 2012 3:27 pm
Re: Vault client API needs a 'get local version'
What GregM says is correct - I want to get the number from the "Local Version" column in the Vault client for each file. I will check out the link that Beth gave - thanks!
-
- Posts: 4
- Joined: Fri Apr 06, 2012 3:27 pm
Re: Vault client API needs a 'get local version'
OK, I read the thread that Beth pointed to. It looks like Tom888 wants the same thing that I do, and Linda Bauer has put the feature in for consideration in a future Vault version.
Re: Vault client API needs a 'get local version'
I will add your vote to that feature request then. Thank you for your feedback.
F: 13483
F: 13483
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 4
- Joined: Fri Apr 06, 2012 3:27 pm
Re: Vault client API needs a 'get local version'
Beth, thanks for your prompt and efficient attention to my issue.
Charles
Charles
Re: Vault client API needs a 'get local version'
You're welcome.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support