carfreesun Posted March 18, 2015 Report Share Posted March 18, 2015 i want get changed lists at changeset about xlink i want output format at command window) xlink:ABCD:/@1444@AB_ABCD@server.com:1234 xlink:ABCD:/@1600@AB_ABCD@server.com:1234 xlink:BANANA:/@14@AB_BANANA@server.com:1234 xlink:BANANA:/@20@AB_BANANA@server.com:1234 .... i want get a changeset number, for example 1444 to 1600 and 14 to 20 please, let me know cm command. Link to comment Share on other sites More sharing options...
manu Posted March 23, 2015 Report Share Posted March 23, 2015 Hi, you can do it by issuing a "ls" command for the two changesets you are diffing. Example: Imagine you are diffing the changeset 80 Vs 81 of your GlobalRepo@localhost:9094 Then you need to get the "ABCD" and "BANANA" target changeset: originalTarget = cm ls /ABCD --tree=80@GlobalRepo@localhost:9094 --format={changeset} newTarget = cm ls /ABCD --tree=81@GlobalRepo@localhost:9094 --format={changeset} and the same for "BANANA" originalTarget = cm ls /BANANA --tree=80@GlobalRepo@localhost:9094 --format={changeset} newTarget = cm ls /BANANA --tree=81@GlobalRepo@localhost:9094 --format={changeset} Hope it helps! Link to comment Share on other sites More sharing options...
carfreesun Posted March 24, 2015 Author Report Share Posted March 24, 2015 Thanks, I can get infromation that i want because of your posting. command) cm ls /ABCD --tree=80@GlobalRepo@localhost:9094 --format={changeset} cm ls /BANANA --tree=80@GlobalRepo@localhost:9094 --format={changeset} i want ABCD, BANANA's changeset. but ABCD, BANANA are not same level of diectory. so i use this commends, cm ls /ABCD --tree=80@GlobalRepo@localhost:9094 --format={changeset} cm ls /FRUIT/BANANA --tree=80@GlobalRepo@localhost:9094 --format={changeset} it's not convenient. i want just input repository name at that position. if you have good idea, please let me know it. Please thanks once again.!! Link to comment Share on other sites More sharing options...
manu Posted March 24, 2015 Report Share Posted March 24, 2015 Hi! what exactly do you need? I'm not sure if I'm understanding your question. i want just input repository name at that position. if you have good idea, please let me know it. Please Link to comment Share on other sites More sharing options...
carfreesun Posted March 24, 2015 Author Report Share Posted March 24, 2015 cm ls /ABCD --tree=80@GlobalRepo@localhost:9094 --format={changeset} cm ls /FRUIT/BANANA --tree=80@GlobalRepo@localhost:9094 --format={changeset} sorry i'm not good at english.. i just want use repository name at next the cm ls commend (BOLD) not the path i want use cm ls /ABCD --tree=80@GlobalRepo@localhost:9094 --format={changeset} cm ls /BANANA --tree=80@GlobalRepo@localhost:9094 --format={changeset} thanks. Link to comment Share on other sites More sharing options...
manu Posted March 26, 2015 Report Share Posted March 26, 2015 Hi, nop that's not possible, you need to use the relative server path to the xlink. /ABCD and /FRUIT/BANANA That works in that ways because the xlink is stored in the repository at the Plastic SCM server with a Path. "/" is the root item of your repository for a given changeset and then you have all the files and directories added to the repo. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.