I have a custom client that syncronizes selected files from a 'Development' repository to a 'Production' repository. A problem seems to exist when my app tried to update and existing file in production. When stepping through the code, it appears that the file copied to the local drive begins as the file in the development repository and then changes (at the gobjClientProd.Get statement) to the version in the production repository. I have tried modifications to the code without success.
Could you please help.
Code is attached.
API Question
Moderator: SourceGear
I'm trying to read this code and figure out what's wrong, but I'm allergic to VB, so I keep having to stop and sneeze.
So you're saying that you get a file to the local disk, and that file's contents seem to be corrupted?
I'll keep reading this code, but I figured I might as well as for any additional detail you can provide while I'm reading it.
So you're saying that you get a file to the local disk, and that file's contents seem to be corrupted?
I'll keep reading this code, but I figured I might as well as for any additional detail you can provide while I'm reading it.
Eric Sink
Software Craftsman
SourceGear
Software Craftsman
SourceGear
More info
It doesn't generate any errors. This issue only generates nasty comments from certain users who complain that 'I already did this'.
In any effort to quiet the static in my ears, I have decided not to update existing files in the production repository. I am deleting any existing files in the Production repository and adding the new version for Development. This approach admittingly, is not the most elegant, or even the right way to approach this issue. However, it does work now.
I can't really give you much help. I have some observations. The file dates change from the development version (gobjClientDev.GetToNonWorkingFolder) to the production version (gobjClientProd.Get). Would any settings (Options/Local Files/Set FileTime[Current,Modification,Check-in]) in the Vault Client app infuence how the process behaves in the API.
I'm sorry for not being able to be of more assistance.
In any effort to quiet the static in my ears, I have decided not to update existing files in the production repository. I am deleting any existing files in the Production repository and adding the new version for Development. This approach admittingly, is not the most elegant, or even the right way to approach this issue. However, it does work now.
I can't really give you much help. I have some observations. The file dates change from the development version (gobjClientDev.GetToNonWorkingFolder) to the production version (gobjClientProd.Get). Would any settings (Options/Local Files/Set FileTime[Current,Modification,Check-in]) in the Vault Client app infuence how the process behaves in the API.
I'm sorry for not being able to be of more assistance.