Hi
I still have a problem getting the API to check in modified files. I have attached a sample project.
If i put a breakpoint on the checkin line, modify the file manually and then run the checkin line, in vault the file reverts back to the version it was at previously - exactly as if I had unchecked it out rather than checking it in.
I am running the ServerOperations.ProcessCommandListChangeSet(new string[] { filePath }); as previously recommended which seemed to resolve the issue but I am still having problems.
Client, API and Server are all 4.1.1.18060
Please help as this is becoming urgent...
Matt
API not checking in files (again)
Moderator: SourceGear
-
- Posts: 24
- Joined: Tue Feb 12, 2008 8:07 am
API not checking in files (again)
- Attachments
-
- TestVault.zip
- (515.51 KiB) Downloaded 644 times
You'd need to set the breakpoint at ProcessCommandListChangeset. The file needs to be checked out/modified before that point because that command is going to trigger the refresh needed for commit to pick up both types of changes.
I have made a fix for the refresh problem that will be available in the next maintenance release. If you'd like to test it out now, send me an email and I can send you a link.
I have made a fix for the refresh problem that will be available in the next maintenance release. If you'd like to test it out now, send me an email and I can send you a link.
-
- Posts: 24
- Joined: Tue Feb 12, 2008 8:07 am
-
- Posts: 24
- Joined: Tue Feb 12, 2008 8:07 am