Jump to content

Sarynth

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by Sarynth

  1. Okay, with this information, I can now copy "jet/rep_4" to "jet/rep_6" and run "cm repository add rep_6 mynewtest local" and it successfully created a mynewtest repository inside of PlasticSCM. (Minor success! Yay.)

     

    This is still on the C:\ drive. Is there any way to move the repository to a different drive?

    On 1/26/2021 at 6:22 AM, calbzam said:

    In Plastic, the local repos are stored by default at "C:\Program Files\PlasticSCM5\server\jet\rep_x".

    So instead of C:\... move it to D:\... or F:\... etc. like "F:\jet\rep_x" ?

  2. I was trying not to get this thread off topic, as the OP's question was about moving a repository.

    Quote

    2. What if I move a rep folder, will I be able to change it's number when I bring it back to this or other system so it's automatically seen as another repo?

    This is what I was trying to reproduce in this thread. I moved the rep_4 out of the "jet" folder and changed the number from 4 to 6 and tried

    cm repository add rep_6 mynewtest local

    But, it errored out. I'll read up on the replica idea and create another thread if that's applicable, but for now I was trying to finish up the initial concept of copying the repository to a different drive, and re-linking it with the Plastic server. That doesn't seem to work, can you provide a working example with the folder moved out of the "jet" folder?

  3. Carlos,

    Earlier in the thread we discussed copying the repo to a new folder and linking it up as a new repository. I've copied these to C:\Docs\test for testing.

    I copied rep_4 and tried linking it with a new repo name, but it said it already existed.

    I made a duplicate of rep_4 and called it rep_6, and it says it doesn't exist.

    The concept discussed earlier in this thread is that we can work in a "distributed" way by copying the source folder (in jet/rep_x) to other locations, and link it up with cm repository add, but that is giving problems. Do you have a more comprehensive example of how that might be achieved?

    Thanks.

  4. I tried copying rep_4 to another folder, then tried to add it as "mynewtest" but it failed.

    So, I renamed the folder to rep_6 and tried to run the command again. It still failed.

    C:\Docs\test>cm repository add rep_4 mynewtest local
    There has been an unexpected error "Repository with ID 4 already exists.". For more information check the server log.
    
    C:\Docs\test>cm repository add rep_6 mynewtest local
    There has been an unexpected error "Repository rep_6 doesn't exist". For more information check the server log.

     

  5. Can you give an example of cm addrep?

     

    In a local scenario, if "C:\Program Files\PlasticSCM5\server\jet\rep_x" is moved to "F:\Repos\rep_x"

    What's the command to link it up?

    cm repository add rep_x myname local ?

     

    cm repository add F:\Repos\test\rep_4 another local
    There has been an unexpected error "Invalid directory name: 'F:\Repos\test\rep_4'. It must start with 'rep_'". For more information check the server log.

     

×
×
  • Create New...