Vault tries to delete a file when I'm trying to commit !!

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

Moderator: SourceGear

Post Reply
JasonBirklid

Vault tries to delete a file when I'm trying to commit !!

Post by JasonBirklid » Wed Mar 02, 2005 1:28 pm

I accidentally posted this in an incorrect forum earlier (mod please delete the other post, I think it's in SourceOffsite support)

Here's the text of the command and the error:

C:\Program Files\SourceGear\Vault Client>vault.exe -host vault.corbis.com -user
jasonb -repository C1Code commit "$/CorbisOne_Fremont/Application/Core Component
s/_BIN/C1CreditCardProcessor.dll" -merge overwrite -unchanged checkin -commit
<vault>
<changeset>
<DeleteFile id="0" repospath="$/CorbisOne_Fremont/Application/Core Components/_
BIN/C1CreditCardProcessor.dll" />
</changeset>
<!-- Preparing data to begin transaction -->
<!-- Beginning transaction -->
<!-- Item $/CorbisOne_Fremont/Application/Core Components/_BIN/C1CreditCardProc
essor.dll caused the transaction to fail: The object could not be modified becau
se it or one of its children is checked out. -->
<!-- Transaction failed -->
<result success="no" />
</vault>

I can commit this file with the UI???

Any help is appreciated,

Thanks,

Jason Birklid

Corbis Corp.

jclausius
Posts: 3706
Joined: Tue Dec 16, 2003 1:17 pm
Location: SourceGear
Contact:

Post by jclausius » Wed Mar 02, 2005 1:35 pm

The commit is trying to delete a file which is checked out. You should remove the File deletion from your change set, if you are trying to modify the file.

You can use LISTCHANGESET to show what the client contains within the change set.

Use UNDOCHANGESETITEM (using the change set item number ) to remove the item from the change set.
Jeff Clausius
SourceGear

Post Reply