Valut CommandLine delete local copy after CHECKIN

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

Moderator: SourceGear

bfeller
Posts: 20
Joined: Fri May 18, 2012 9:07 am

Re: Valut CommandLine delete local copy after CHECKIN

Post by bfeller » Thu Oct 18, 2012 11:02 am

I found a solution:

Use this code:

try
{
VaultClientFolder vcfolder = ServerOperations.ProcessCommandListFolder(repositoryFolderPath, false);
if (vcfolder.FullPath == null)
{
ServerOperations.ProcessCommandCreateFolder(repositoryFolderPath);
}
}
catch
{
ServerOperations.ProcessCommandCreateFolder(repositoryFolderPath);
}

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Re: Valut CommandLine delete local copy after CHECKIN

Post by lbauer » Tue Oct 23, 2012 3:56 pm

Thanks for letting us know!
Linda Bauer
SourceGear
Technical Support Manager

Post Reply