It's all about the answers!

Ask a question

RTC delete state-content full claims list ? (SCM CLI LSCM)


Gilles Tabary (7676) | asked Apr 23 '18, 10:52 a.m.

Hello.

I have 1600+ spurious check-ins to hard delete. I know already which IDs. But... For each one of them, how can I get the full list of claims to a content for me to decide whether I can perform --force with an "lscm.bat  delete state-content" ? I didn't find solution in one of this links or else where :

Example :

$ lscm.bat -a n -u y delete state-content _xxxxxxxxEeiFCr3IiyY7aA _xxxxxxxxEeiYzOwe080mKg --repository-uri MY_REPO
Le contenu d'¦tat "xxxxxxxx1EeiYzOwe080mKg" est r¦f¦renc¦ par 37 ¦l¦ments :
  /aa2/aa2-web/target/aa2-web-1.0.1/WEB-INF/lib/a-library-1.5.10.jar
  /aa2/aa2-web/target/aa2-web-1.0.0/WEB-INF/lib/a-library-1.5.10.jar
  /bb6/bb6-web/target/bb6-web-1.0.11/WEB-INF/lib/a-library-1.5.10.jar
  /bb8/bb8-web/target/bb8-web-1.0.3/WEB-INF/lib/a-library-1.5.10.jar
  /bba/bba-web/target/bba-web-1.0.2/WEB-INF/lib/a-library-1.5.10.jar
  ...
Relancez l'ex¦cution avec l'option --force pour supprimer le contenu. Lors de la suppression de ce contenu, celui-ci est ¦galement retir¦ de tous les fichiers qui le r¦f¦rencent.
Incident lors de l'ex¦cution de 'delete state-content':
Echec de la suppression du contenu.
The content is claimed by multiple items
Consultez le journal pour des d¦tails sur l'erreur dans "path...\AppData\Local\jazz-scm". Si vous avez configur¦ une journalisation personnalis¦e, consultez vos param¦tres de configuration de journal afin de d¦terminer le chemin d'acc¦s au fichier journal.


Well, I know there are 37 claims to the content, but only first 5 ones are shown. How can list all claims so I can decide if I want to procede with deletion ? The Eclipse Client plugins shows the same behaviour : display only the first five claims.

Regards.
--
Gilles T


Comments
Gilles Tabary commented Apr 23 '18, 11:49 a.m.

Almost there... but ventually no help either from

Any idea ?

Be the first one to answer this question!


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.