Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

I am surporised, the changset numbers are automatically changed.

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:



0 votes


Accepted answer

Permanent link
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

0 votes

Comments

 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 log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Jul 30 '14, 4:31 p.m.

Question was seen: 2,787 times

Last updated: Jul 30 '14, 11:40 p.m.

Confirmation Cancel Confirm