It's all about the answers!

Ask a question

scm compare problem

silencehill wu (5022331) | asked Dec 01 '13, 9:58 a.m.
retagged Dec 16 '13, 11:34 a.m. by David Lafreniere (4.4k7)

When I run scm compare cmd, I have a question.

Please refer compare  result of below:

I found one compare changeset id like "6919", and the other is "----", please tell me when number sequence is given, when ---- is given?

  组件 (5852:_HEoeAP9CEeK4uI-EeUZQGw)“A6JOB_03-PJ共享文件程序”
    (6919:_Icw5If9DEeK4uI-EeUZQGw) 肖惠华BY00287 <unknown> 14702:2013-08-07-胡剑宇-a6bug修复 - 共享项目 2013/08/07

 组件 (5853:_RgEq4Kx8EeKUd_yj_0Ci5g)“A6PBA_03-银行账户过账处理”
    (----:_1UKKkayCEeKUd_yj_0Ci5g) 肖惠华BY00287 <unknown> 11615:2013-03-01-周定邦-对公核心开发 - 共享项目 2013/04/24

Accepted answer

permanent link
Shashikant Padur (4.0k27) | answered Dec 01 '13, 9:44 p.m.
The number 6919 is an alias and it is a convenient way to reference an item. This alias is specific to scm cli tool and it varies from system to system. The aliases range from 1000 to 9999 and it gets recycled/refreshed. If the command lists too many aliases and it cannot recycle the aliases, the cli will display '----'. Did the compare command list too many items?

By the way, if you are running the commands through your scripts, you should use the item-id which is displayed after the alias.
silencehill wu selected this answer as the correct answer

silencehill wu commented Dec 03 '13, 11:46 a.m.

Thanks for your explaination!Very Clear!

Your answer

Register or to post your answer.