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

lscm list changes subcommand returns old path for move state after parent path was changed

 FolderA was change to FolderB and list changes result is like this:

Changeset A:
"new-path": "\Folder1\FolderB\",
"path": "\Folder1\FolderA\",
"state": {
            "add": false,
            "conflict": false,
            "content_change": false,
            "delete": false,
            "move": true,
            "potential_conflict": false,
            "property_change": false
        }

After that, the list changes subcommand for a move state of a file under the same folder returns old path:
Changeset B:
"new-path": "\Folder1\FolderB\NewSubFolder\FileX.txt",
"path": "\Folder1\FolderA\FileX.txt",
"state": {
            "add": false,
            "conflict": false,
            "content_change": false,
            "delete": false,
            "move": true,
            "potential_conflict": false,
            "property_change": false
        }
The correct path should be: "path": "\Folder1\FolderB\FileX.txt",

Another change set for the same file with 'content_change' state was working and return the correct new path.
"path": "\Folder1\FolderB\NewSubFolder\FileX.txt",
"state": {
    "add": false,
    "conflict": false,
    "content_change": true,
    "delete": false,
    "move": false,
    "potential_conflict": false,
    "property_change": false
}

This happened when I did a migration from RTC to Gitlab, I need to get all change sets from RTC replicate them in git commits.
Here is my lscm version:
Build Id: EWM-CLIENT-I20220731-0234
Version: 7.0.2

Thanks.

0 votes


Be the first one to answer this question!

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
× 158

Question asked: May 29 '23, 12:02 a.m.

Question was seen: 513 times

Last updated: May 29 '23, 12:05 a.m.

Confirmation Cancel Confirm