Syntax
tc Connect <TC Repository> [-O] [-T] [-Y] [-?]
|
Examples
|
tc Connect "Test Repository"
|
Connects to the repository called Test Repository and sets the default user to Ewan:
tc Connect "Test Repository" -YEwan,Ewanspassword
|
The following table describes the command-line options available with this command.
Option
|
Description
|
-O
|
Specify command output parameters
|
-T
|
Causes the command to terminate and return an error code when an error occurs.
|
-Y
|
Specify a Username and/or Password
|
-?, -H
|
Request online help for a command
|
Remarks
When you connect to a different repository, it becomes the default for subsequent commands. If the username and password used for the current connection do not apply on the new connection, you will be prompted to enter a valid username and password. To avoid this prompt, use the -Y option.
Note that you must be connecting to a previously created repository connection. You can define connections using the Team Coherence Version Manager.
|
© 1995-2018 MCN Software