<vaultcheckin> NAnt - file already checked out won't c

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

Moderator: SourceGear

Post Reply
keithr
Posts: 10
Joined: Mon Nov 27, 2006 7:03 pm

<vaultcheckin> NAnt - file already checked out won't c

Post by keithr » Fri Aug 10, 2007 12:42 pm

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.

shannon

Post by shannon » Fri Aug 10, 2007 1:27 pm

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.

keithr
Posts: 10
Joined: Mon Nov 27, 2006 7:03 pm

no error

Post by keithr » Fri Aug 10, 2007 2:33 pm

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.

shannon

Post by shannon » Fri Aug 10, 2007 3:31 pm

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.

Post Reply