Re: Commit file problem

Shaw Terwilliger <[email protected]> Wed, 3 Mar 2004 13:07:20 -0600
Newsgroups gmane.comp.version-control.sourcegear-vault.user
Message-ID <[email protected]>
James Geurts wrote:
> ClientInstance.InternalChangeSet_GetItems(false) returns a type
> ChangeSetItem_CheckedOutMissing for the myfile.cs item.  This is to be
> expected since I did not do a Get for that file.
> 
> Is there a way to convert ChangeSetItem_CheckedOutMissing to
> ChangeSetItem_Modified other than the way that I'm currently using?

The "right" way is to Get the file (optionally calling CheckOut before
Get).  If you then modify the file, and call InternalChangeSet_GetItems() 
again, the item will be a "Modified" item.  Check In was only designed to
work after a Get has been performed, and I'm not sure what it would
do if there was no working file.

-- 
Shaw Terwilliger <[email protected]>
SourceGear LLC