Problem with comment on commandline client

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

Moderator: SourceGear

Post Reply
erazer
Posts: 2
Joined: Wed Jun 08, 2005 5:28 am

Problem with comment on commandline client

Post by erazer » Wed Jun 08, 2005 5:44 am

How can i pass a comment with double quotes to the command line client?

I want to use an comment like:

Automatic build for "TestComponent1"

quote escaping does not work?


tried that one:

vault.exe -host vault -user test -password test -repository vault_04 commit -comment "Automatic rebuild for ""TestComponent1""" "$/Libraries/GEN Packages/Units/GIF Director/Source/"

Client gives an error with that one!

Is there any method to make this work?

Thx in advance for the help!

Regards,
erazer

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

Post by jeremy_sg » Wed Jun 08, 2005 7:00 am

Have you tried slash-escaping?

"Automatic build for \"TestComponent1\""

erazer
Posts: 2
Joined: Wed Jun 08, 2005 5:28 am

slash excaping

Post by erazer » Wed Jun 08, 2005 8:00 am

i have not tried it yet with the vault client, but it did not work with parameter passing to another batch script...

i will try this with vault.exe tomorrow, maybe it works;)

thx

Post Reply