visual-studioversion-controlrtcjazz

Export unresolved list in RTC as a text document


I am using RTC with visual studio 2013. After I refreshes changes I get a list of files as unresolved. Is there any way by which I can save/export these file names as a text file.


Solution

  • You would need to fall back to RTC CLI (command line interface) for that.

    An lscm status lists the files which are unresolved:

    [~/test]$ lscm status
    Workspace: (1159) "Workspace1" <-> (1159) "Workspace1"
      Component: (1160) "Comp1"
        Baseline: (1161) 2 "SS1"
        Unresolved:
          -c- /Comp1/111/1.txt
      Component: (1162) "Comp2"
        Baseline: (1163) 2 "SS1"
    

    Since RTC4, you can have that result in json (might be easier to parse/process)
    See also " Scripting using the Rational Team Concert SCM Command Line Interface".

    The advantage of that approach is, of course, the possibility to parse and redirect the output to a file.