Would someone please help me to resolve the following issue. Sometimes TeamCity cannot start a build due to the this error:
Failed to build patch for build ... due to error: 'hg --config ui.interactive=False --config auth.tc.prefix=* --config auth.tc.username=USER --config auth.tc.password=****** --config "auth.tc.schemes=http https" cat -o c:\Utils\TeamCity\bin\..\temp\hg1\%p -r 8f02ade705b7 MyFile.dll' command failed.
stderr: abort: No such file or directory: c:\Utils\TeamCity\bin\..\temp\hg1\.hglf/MyFile.dll
I am pretty sure about these observations:
1) Running a clean build always works. So the problem appears only if there is a non-clean build.
2) The error appears only if the last changeset contains at least one file stored with largefiles extension (we use Mercurial).