Page 1 of 1

How to retrieve the last checked in file revision number?

Posted: Mon Mar 23, 2009 9:24 am
by eosmann
I need to know how to retrieve the latest file revision checked into vault given either the repository or local path to a file.
Unfortunately the VaultClientIntegrationLib.ServerOperations.ProcessCommandCheckout() call doesn't return this information and I can not find any calls that address this.

Please help direct me to the appropriate method in the VaultClientIntegrationLib source API if such a call exists or provide a means for me to obtain this information as needed.

Thanks
Eric

Re: How to retrieve the last checked in file revision number?

Posted: Mon Mar 23, 2009 10:30 am
by jeremy_sg
Look at RepositoryUtil.FindVaultFileAtReposOrLocalPath, which will return a VaultClientFile. That file's .Version property will be the latest version in the repository.