If you pay attention to the release notes, you probably know that Plastic's command line client now has a clone command. If you are used to other version control tools, then using it will be as easy as falling off a log. If not, let me tell you what the cm clone command does—it creates an exact copy of a remote repository in your Plastic SCM server.
You just need to type in the remote repository specification, and the cm will take care of creating a local repository of the same name (if it doesn't exist yet) and replicating all the content from one to the other.
The syntax of the cm clone command is as follows:
> cm clone <src_rep>@<src_rep_server> [dst_rep_server]
For example:
> cm clone codice@central.home:9095 codice@co-located.home:8084
If you don't specify the destination server, the clone command will use your default server.
I know what you're thinking. What if I don't have a direct Internet connection between source and destination? No problem. You can clone to a package! Let me show you how:
Read more »