Problem:

When you want to send a code review using CodeFlow 2010 after you changed some code in a changelist, you met an error like this:

Compound change types like ‘add+branch from’ are not supported.

image

Cause:

You renamed a file in Visual Studio with the Janus source control plugin.

Resolution:

Step 1. Identify that file who caused this problem. If you forgot which file you have renamed, then you can find it by as the following steps.

  1. Create another changelist in your source control. Move a file from the original changelist which caused this problem. And then try to send code review against the new changelist. If the error happens, then that file are found.
  2. If no error met against the new changelist, it indicates the problematic file is still in the original changelist, repeat step 1 until you find the problematic file.

Step 2. In your source folder, check if the file with the original name exists, if yes in your source control, delete it (You may revert it first if it can not be deleted).

Step 3. In your changelist, revert the file with the new name.

Step 4. Add your new name file to your changelist.

Step 5. The problem was fixed.