Problems in run Vault from command line
Moderator: SourceGear
Problems in run Vault from command line
When i try run Vault from command line with the following parameters
vault.exe CHECKIN "D:\CompanyName\Sources\ProjectName\Web\Properties\AssemblyVersion.cs" -host "vault.host.com" -ssl "true"
-user "User" -password "password" -repository "Project Name" -comment "Commit version" -keepcheckedout "false" -unchanged
"checkin"
I've got next message:
[exec] <vault>
[exec] <changeset />
[exec] <result>
[exec] <success>True</success>
[exec] </result>
[exec] </vault>
And my file wasn't commited to Vault repository
Path to file - correct i've cheked it.
What should i do? Can you help me with commiting file to Vault.
vault.exe CHECKIN "D:\CompanyName\Sources\ProjectName\Web\Properties\AssemblyVersion.cs" -host "vault.host.com" -ssl "true"
-user "User" -password "password" -repository "Project Name" -comment "Commit version" -keepcheckedout "false" -unchanged
"checkin"
I've got next message:
[exec] <vault>
[exec] <changeset />
[exec] <result>
[exec] <success>True</success>
[exec] </result>
[exec] </vault>
And my file wasn't commited to Vault repository
Path to file - correct i've cheked it.
What should i do? Can you help me with commiting file to Vault.
Which version of Vault are you using?
How are you checking that your file was checked in?
Do you have access to your Vault Server Log where you can check around the time that you checked in and see if there were any errors?
How are you checking that your file was checked in?
Do you have access to your Vault Server Log where you can check around the time that you checked in and see if there were any errors?
>>Which version of Vault are you using?
We are using version 4.0.2.15802
>>How are you checking that your file was checked in?
I pressed refresh button from toolbar and looked at AsemblyVersion file history
>>Do you have access to your Vault Server Log where you can check around the time that you checked in and see if there were any
errors?
I didn't find any log files in Windows/Temp directory
We are using version 4.0.2.15802
>>How are you checking that your file was checked in?
I pressed refresh button from toolbar and looked at AsemblyVersion file history
>>Do you have access to your Vault Server Log where you can check around the time that you checked in and see if there were any
errors?
I didn't find any log files in Windows/Temp directory
It's written in help
When i changed that parameter i've got following error:
It means that there should be Repository name - not path in current repository[/quote]-repository repositoryname
Repository to connect to
When i changed that parameter i've got following error:
Code: Select all
<vault>
<error>
<exception>VaultClientIntegrationLib.UsageException: Repository $/ProjectName/Sour
ce/Web/Properties/AssemblyVersion.cs not found
at VaultClientIntegrationLib.ServerOperations.SetRepository(String repositoryName)
at VaultClientIntegrationLib.ServerOperations.Login(AccessLevelType altCommand, Boole
an bAllowAuto, Boolean bSaveSession)
at VaultClientIntegrationLib.ServerOperations.Login()
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)</exception>
</error>
<result>
<success>False</success>
</result>
</vault>
Sorry about that, I was thinking of something else and saw "project name."For this part, -repository "Project Name",
Most likely you just need to clear your Client Side Cache. Details about the makeup of the cache are in that link. The part you will want to make sure you keep is cachemember_workingfolder assignments. Make sure you remove the _sgvault and then you can remove the other cache members. Vault will rebuild the cache.
Try that first and then we'll go on from there.