Joel Meyer Posted January 21, 2020 Report Share Posted January 21, 2020 Hello, in our setup we manually push selected branches from our premise server to the cloud. But we want to pull all branches from the cloud to our server. The processes run automatically via a timed batch script. My pull command looks like: cm pull "/main/dev@repo@org@cloud" repo@server:8087 I tried to use wildcards (*, %) like cm pull "/main/dev/*@repo@org@cloud" repo@server:8087 -------------------^ but nothing worked. Is there some way to pull the (child) branches recursively? I put "child" in parentheses, because we are fine with pulling all branches from the cloud (we just don't want to push everything there). The more complicated way I can think about would be: getting a list of all cloud branches and then pulling each branch separately. That would be weird and uncomfortable and I think there must be another way (GUI "sync" can do this, is there a log of commands called from the gui?). Thank you all Link to comment Share on other sites More sharing options...
calbzam Posted January 22, 2020 Report Share Posted January 22, 2020 Hello, We have a sync server trigger but I'm afraid triggers are not supported in the cloud. It would only work in your local server. https://github.com/PlasticSCM/syncservertrigger We also have a tool called CmdRunner that I think will be help ful. Please check the "Handling different servers: The replicator" section. https://www.plasticscm.com/documentation/cmdrunner/plastic-scm-version-control-cmdrunner-guide#Handlingdifferentservers:Thereplicator Regards, Carlos. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now