Command Line ADD file not working

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

Moderator: SourceGear

Post Reply
shanko
Posts: 1
Joined: Fri Mar 19, 2004 3:18 pm

Command Line ADD file not working

Post by shanko » Fri Mar 19, 2004 3:26 pm

I cannot get to ADD a file to the repository using the command line utility.
Here is a transcript of what happens:
------------------------------------------
M:\Q2\SCRIPTS> vault ADD -host HOSTNAME -user USERNAME -password PASSWORD -repository "Default Repository" -comment "Just Added" $/CCS vco.cmd
<vault>
<changeset>
<AddFile id="0" repospath="$/CCS/vco.cmd" localpath="vco.cmd" />
</changeset>
<result success="yes" />
</vault>

M:\Q2\SCRIPTS>vault -host HOSTNAME -user USERNAME -password PASSWORD -repository "Default Repository" CHECKOUT $/CCS/vco.cmd -destpath M:\Q2\MISC
<vault>
<error>
$/CCS/vco.cmd does not exist.
</error>
<exception>
System.Exception: $/CCS/vco.cmd does not exist.
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommandCheckout(ArrayList strItemArray)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)
</exception>
<result success="no" />
</vault>
---------------------------------------
What am I missing ?

Is there a place where I can get ** complete ** documentation of the all the command line options with examples ?

Thanks,
--shanko

Guest

Version Info

Post by Guest » Fri Mar 19, 2004 3:34 pm

Oops ! :oops:

Forgot to mention, I am am using Vault Client Version 2.0.0 (2120) on Windows 2000 Professional.

-- shanko

jeremy_sg
Posts: 1821
Joined: Thu Dec 18, 2003 11:39 am
Location: Sourcegear
Contact:

Post by jeremy_sg » Fri Mar 19, 2004 3:37 pm

Does the file appear in the GUI client after you do the command line add?

Post Reply