Carton Jeston Posted February 19, 2018 Report Share Posted February 19, 2018 Hello, In my plastic I have a project (a) and now I want to use a second repository (B) but I see that keeps them all together as Rep 1... 2... 3... 4... Is there any way to separate them into subfolders or to adopt a different filename according to the repository name? For example... A rep 1... A Rep 2... B rep 1... B Rep 2. It could be an interesting option to have the database identified when problems arise. ;-) Link to comment Share on other sites More sharing options...
manu Posted February 19, 2018 Report Share Posted February 19, 2018 Hi Carton, you can create repositories like this: c:\wkspaces\codice\01plastic\bin\client>cm mkrep core/area2 c:\wkspaces\codice\01plastic\bin\client>cm lrep --format="TABLE" 1 default localhost:8787 1_1 default/test localhost:8787 3 core localhost:8787 3_1 core/area1 localhost:8787 3_2 core/area2 localhost:8787 And you will get the indented structure but you can't customize the root ids (1 and 3). By using the subrepositories you will create databases inside databases giving you less root databases to manage (good for big corporations). Link to comment Share on other sites More sharing options...
Carton Jeston Posted February 24, 2018 Author Report Share Posted February 24, 2018 I think what you're indicating is just what I'm looking for but I have a doubt. . cm lrep --format="TABLE" 11 MYPROGRAM localhost:8087 13 MYGAME localhost:8087 14 test localhost:8087 14_1 test/x1 localhost:8087 14_2 test/x2 localhost:8087 Is there any way to know which file uses the repository from the PlasticSCM IDE? Although the command is enough. Thank you very much for your help, it is very useful. Link to comment Share on other sites More sharing options...
calbzam Posted February 28, 2018 Report Share Posted February 28, 2018 Hi, not sorry, It's only possible to get this information via command line. Regards, Carlos. Link to comment Share on other sites More sharing options...
Carton Jeston Posted February 28, 2018 Author Report Share Posted February 28, 2018 gracias Link to comment Share on other sites More sharing options...
manu Posted March 1, 2018 Report Share Posted March 1, 2018 Not directly but you can determine it based on the repository id. For the given example: c:\wkspaces\codice\01plastic\bin\client>cm lrep --format=TABLE 1 default localhost:8787 4 code localhost:8787 5 arn localhost:8787 6 post localhost:8787 4_1 code/kolz localhost:8787 The "code/kolz" repository will be located at: "$Jet_dbs_location\rep_4_1". The "arn" repository will be located at "$Jet_dbs_location\rep_5". Not sure this is what you wanted to know. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.