Hi,
Using vault command line client v3.5.3
I want to sync a folder from my hard drive to the repository. I have exactly what should be the new content of this folder on my hard drive. What is the good way to do that ?
Deleting the folder from the repository then re-adding it with new contents?
Listing the folder then deleting missings then checking out the folder to send modified files then adding new folders then adding new files... ?
The first solution may be costly for the server (re-adding unmodified files).
The second solution is a bit complicated.
Any idea?
Auto-detect changes
Moderator: SourceGear
All you need to do is use the SETWORKINGFOLDER command and then perform a GETLATEST with the option chosen to 'Do Not Overwrite/Merge Later' set. What that will do is tie the folder to the location in Vault and then make Vault check the status on each file.
For how to use those commands, check out the Command Line Client documentation.
For how to use those commands, check out the Command Line Client documentation.