Using 4.0.4, a file that has already been checked out by the same user does not get checked in by this task.
1) Gets expected message of the files already being checked out:
[vaultcheckout] Check out failed for blah.blah: You already have the file checked out.
2) checkin command that explicitly includes said file does not check it in or cause an error, as though it is completely being ignored since it wasn't just checked out.
<vaultcheckin> NAnt - file already checked out won't c
Moderator: SourceGear
What error or output is the checkin task giving you?
What attributes do you have set for the vaultcheckin task? The default operation for an unchanged file is to undo the checkout.
Also, try inserting the vaultlistcheckouts task in between your checkout and checkin tasks, we have had a report of a refresh problem.
What attributes do you have set for the vaultcheckin task? The default operation for an unchanged file is to undo the checkout.
Also, try inserting the vaultlistcheckouts task in between your checkout and checkin tasks, we have had a report of a refresh problem.
no error
There is no error. It simply doesn't check in the changed file, where a previous checkin attempt failed, due to it not having a comment.
It is correctly checking in other files inside the same vaultfileset.
No attributes are set, other then the "comment" i added to the command, as noted in post #8349, thus all defaults are being used.
Note that this problem started with 4.0.3, where it failed to check in the file, then restarted (thus closing all sessions) and installed 4.0.4, then manually checked in the file through the gui, and now I can not repeat the condition, even after purposefully causing the same problem by removing the comment from the checkin command. This may because i have not closed all existing sessions, but i can't put anymore time into this.
It is correctly checking in other files inside the same vaultfileset.
No attributes are set, other then the "comment" i added to the command, as noted in post #8349, thus all defaults are being used.
Note that this problem started with 4.0.3, where it failed to check in the file, then restarted (thus closing all sessions) and installed 4.0.4, then manually checked in the file through the gui, and now I can not repeat the condition, even after purposefully causing the same problem by removing the comment from the checkin command. This may because i have not closed all existing sessions, but i can't put anymore time into this.
Here's another thing to check:
If you log in to the Admin tool as admin, does it list this file as checked out? If it does not and you are seeing it as checked out on whatever username you're using it's likely that your client checkout cache is busted. You can delete CacheMember_CheckOutList from your client side cache folder if this is the case.
If you log in to the Admin tool as admin, does it list this file as checked out? If it does not and you are seeing it as checked out on whatever username you're using it's likely that your client checkout cache is busted. You can delete CacheMember_CheckOutList from your client side cache folder if this is the case.