TFS Java SDK - shelving file that already exists on the repository

88 Views Asked by At

I have an application that is uploading a translation to the TFVC repository. We have added two modes of update, check in and shelve. Shelving was supposed to create a file on a shelveset, but we have discovered, that once the same file exists on the repository (it was checked in before), shelvesets are not being created.

It is most likely caused by "gated-build", which is blocking check-in of any *resx files that already exists. It looks like shelvesets are also blocked, if the file already exists in the repsitory. Could this be a potential reason? Is there a way to avoid this problem using Java SDK or perhaps by changing the configuration on the repository?

On my local-testing TFS repository it works well. We want to create shelvesets everytime on the client server as well.

0

There are 0 best solutions below