What I am doing wrong here:
"C:\Program Files\SourceGear\Vault Client\vault.exe" diff -host vault.mycompany.com -ssl -user myuser -password mypass -repository CodeRepo -vaultdiff "C:\Program Files\SourceGear\Vault Client\sgdm.exe" -compareto label Build_0.0.0.1600 $/Projects/MyProject/Code/
And this is what I get:
<vault>
<error>
<exception>System.Exception: Could not map path to anything useful: Build_0.0.0.1600
at VaultClientIntegrationLib.RepositoryUtil.FindVaultTreeObjectAtReposOrLocal
Path(String testPath)
at VaultClientIntegrationLib.ServerOperations.ProcessCommandDiff(String diffP
rogram, String diffArguments, CompareToOption compareToOption, Boolean recursive
, String objectPathLeft, String objectPathRight)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)</exception>
</error>
<result>
<success>False</success>
</result>
</vault>
The label that I am specifying exists, and it seems no matter what label I put in there, same error.
Do I have the command line options correct? Am I missing some information?
Command line diff
Moderator: SourceGear
Re: Command line diff
We are currently looking into this and will post when we know a little more.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Command line diff
I've run several tests against this and am getting the same results as you. I have logged a bug. Thank you for reporting this.
In the meantime, you might need to use the Vault GUI client for diff'ing against a label.
F: 15404
In the meantime, you might need to use the Vault GUI client for diff'ing against a label.
F: 15404
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Command line diff
Is there an ETA on the bug? Or a link I can see the bug progress?
Re: Command line diff
I don't have an ETA on a fix and I don't have a way to give you access to our bug tracking. One way to find out if an item is fixed is to subscribe to the RSS feed for our release announcements here: http://support.sourcegear.com/viewforum.php?f=15. You only get email when a new release is announced.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support