Hi,
I'm getting this error message in the log
AddLabel returned: FailDuplicateLabel
when trying to label via CCNet. When I run the command line by hand i get this
C:\Program Files\MSBuild\Red Gate>"C:\Program Files\SourceGear\Vault Client\vault.exe" label "$/Red Gate/Current products/xxx/xxx/Install" 1 39 -host xxx -user xxx -password xxx -repository xxx
<vault>
<error>
$/Red Gate/Current products/xxx/xxx/Install has inherited the label 2 already
</error>
<exception>
System.Exception: $/Red Gate/Current products/xxx/xxx/Install has inherited the label 1 already
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommandLabel(String strReposPath, String labelName, Int64 versionID)
at VaultCmdLineClient.VaultCmdLineClient.ProcessCommand(Args curArg)
at VaultCmdLineClient.VaultCmdLineClient.Main(String[] args)
</exception>
<result success="no" />
</vault>
When I then look at the labels on that folder with the GUI, it says it has none, even when i tick 'show inherited labels'.
On another, similar folder this is working fine.
Any suggestions?
Thanks,
Tilman
FailDuplicateLabel but label doesn't exist
Moderator: SourceGear
Yes, that's the case. The best thing that you could do is to give your labels a more spceific name, so that the labels on one parent wouldn't conflict with the labels from the other parent. Labels with the same name from two different parents are only allowed if they are both referencing the same version of the shared object.