It's all about the answers!

Ask a question

I am surporised, the changset numbers are automatically changed.


samuel wang (321923) | asked Jul 30 '14, 4:31 p.m.
I am surprised, the Changset numbers are automatically changed, see the result:

After delivering changes:
  Repository: https://xxx:9443/ccm/
  Workspace: (4435) "RTCStream"
    Component: (1417) "RTCComponent"
      Change sets:
        (4437) ----$  "test big data" 30-Jul-2014 02:45 PM
          Changes:
            --a-- \RTCComponent\srcCopy\

C:\dataRTC\data>lscm list changesets -r https:/xxx:9443/ccm
Change sets:
  (4437) ----$ user1 "test big data" 30-Jul-2014 02:45 PM
  (1427) ----$ user1 "test big data" 29-Jul-2014 04:27 PM
  (4438) ----$ admin "Initial for RTCComponent" 28-Jul-2014 03:59 PM
  (4439) ----$ admin "Initial for ProjectArea Default Component" 28-Jul-2014 03:41 PM
  (4440) ----$ admin "Initial for ProjectName (Change Management) Default Compo..." 28-Jul-2014 0

after half hour, check again:
C:\dataRTC\data>lscm list changesets -r https://xxx:9443/ccm
Change sets:
  (5441) ----$ user1 "test big data" 30-Jul-2014 02:45 PM
  (1427) ----$ user1 "test big data" 29-Jul-2014 04:27 PM
  (5442) ----$ admin "Initial for RTCComponent" 28-Jul-2014 03:59 PM
  (5443) ----$ admin "Initial for ProjectArea Default Component" 28-Jul-2014 03:41 PM
  (5444) ----$ admin "Initial for ProjectName (Change Management) Default Compo..." 28-Jul-2014 02:



Accepted answer


permanent link
Lily Wang (4.9k714) | answered Jul 30 '14, 9:13 p.m.
Hi Samuel,
The number you highlighted is the change set's alias. Aliases are short strings of digits that you can use to refer to repository objects wherever such references are accepted by an scm subcommand. The scm command automatically creates these aliases whenever you run a subcommand. So the alias may change.
You can try to run "lscm --show-uuid y list changesets" which shows the change set's uuid. The uuid is unique and does not change for repository object.
samuel wang selected this answer as the correct answer

Comments
Shashikant Padur commented Jul 30 '14, 11:40 p.m. | edited Jul 30 '14, 11:40 p.m.
JAZZ DEVELOPER

 Aliases start from 1000 and goes up to 9999. Aliases get recycled depending on how frequently it is used or not used. Aliases should not be used in scripts. It is a convenient way to reference items in lieu of longish item names or cryptic item id's. 

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.