TUBE
Description
Runs commands related to Plastic Tube.
Usage
cm tube config -u=<user> -p=<password>
(Configures Unity VCS to use Plastic Tube with the specified user and password.)
cm tube create <remoteuser>
(Creates the tube "remoteuser -> myuser". The user "myuser" allows to "remoteuser" to connect to "myuser" server. Connections can be established from "remoteuser" to "myuser". Only tubes from other users to the current tube user can be created.)
cm tube remove <remoteuser>
(Removes the tube "remoteuser -> myuser".)
cm tube local
(Lists the local repositories shared in the local server and the users that it is shared with.)
cm tube remote
(Lists the shared remote repositories that are shared with the current tube user.)
cm tube share <rep_spec>[ ...] -u=<remoteuser> -a=(pull | push | pull,push)
(Shares the local repository(s) with the remote user and sets the specified access mode. Use a whitespace to separate repository specs.)
cm tube unshare <rep_spec>[ ...] -u=<remoteuser>
(Unshares the local repository(s) with the remote user. Use a whitespace to separate repository specs.)
cm tube connect
(Connects the Unity VCS server to Plastic Tube.)
cm tube disconnect
(Disconnects the Unity VCS server from Plastic Tube.)
cm tube status
(Shows if the Unity VCS server is connected to Plastic Tube.)
Options
Option / Argument | Description |
---|---|
-u | Tube user (the plasticscm.com user). |
-p | User password. |
-a | Sets the access mode. |
rep_spec | Repository specification. (Use 'cm help objectspec' to learn more about repository specs.) |
Help
Remarks
Use the 'cm tube' command to manage Plastic Tube.
Examples
cm tube config -u=ruben@codicesoftware.com -p=rubenpassword
cm tube create pablo@codicesoftware.com
('pablo@codicesoftware.com' can connect to the current Plastic Tube user)
cm tube remove pablo@codicesoftware.com
cm tube local
cm tube remote
cm tube share repo@server:8087 -u=pablo@codicesoftware.com -a=pull,push
cm tube share repo@server:8087 doc@server:8087 -u=pablo@codicesoftware.com -a=push
cm tube unshare repo@server:8087 -u=pablo@codicesoftware.com
cm tube connect
cm tube disconnect
cm tube status