GetLabel and Destpath

This forum is now locked, since Gold Support is no longer offered.

Moderator: SourceGear

Locked
jnapier
Posts: 42
Joined: Fri Mar 05, 2004 12:18 pm

GetLabel and Destpath

Post by jnapier » Tue Dec 20, 2005 1:36 pm

Im trying to do a GetLabel, well actually cc.net is trying but its failing because apparently -destpath is required by the command but its not supplied by cc.net.

Why do I have to specify a path, shouldnt it just pull to my working directory?

The Command

getlabel $/WebSolutions/RncSolutions/InvoicingSolution 2 -merge overwrite -performdeletions removeworkingcopy -setfiletime checkin -makewritable -host xxxx -user BuildUser -password xxxx -repository Development

The Error
usage: GETLABEL requires either -destpath or -labelworkingfolder to be set

The help says that -destpath and -labelworkingfolder are options but it says nothing about them being required.

am I missing something? Any help would be appreciated.

lbauer
Posts: 9736
Joined: Tue Dec 16, 2003 1:25 pm
Location: SourceGear

Post by lbauer » Tue Dec 20, 2005 1:45 pm

What version of Vault are you using?

Documentation for GETLABEL in Vault 3.1.5 says

Code: Select all

GETLABEL will retrieve files or folders specified by repositorypath at the version at which they were labelled with the specified label. 

Use -labelworking folder (with path) to get the label to a working folder, use -destpath (with path) to specify a non-working folder.
So even if you get to the working folder, you have to specify -labelworkingfolder.
Linda Bauer
SourceGear
Technical Support Manager

Locked