Request a code review
Request a code review in Unity Version Control.
Read time 1 minuteLast updated 21 days ago
You can request a code review on a branch or changeset within your repository:
- From the Repositories page, open either the Branches or Changesets tab.
- Select Request a review on the branch or changeset you want to review.
- Enter a title for the review and a description of the content for the reviewer(s). Note: The title defaults to the branch name if you leave it blank.
- In the Reviewers panel, select Add.
- From the dropdown, search and select for the user(s) or user group(s) that you want to review the code.
- Select Request review.
Respond to comments and resolve questions
After you have opened a code review, collaborators or team members can comment and request changes. In the Unity Dashboard, you can view and respond to comments, and resolve questions:- Locate the comment in either the Conversations tab or the Changed Files tab.
- Type your answer.
- Select either Reply or Resolve question.
Resolve change requests
To resolve a change request, you have to make the changes in the code.Resolve the change request in the Unity Dashboard
You can check-in changes through your normal method, then manually resolve the change request in the Unity Dashboard:- Make the changes in your repo and check-in the changes.
- Open the change request comment in the Unity Dashboard.
- Enter a comment to describe your changes and select Resolve change request.
- Select the changeset with your changes from the dropdown and select Mark as resolved.
Resolve the change request in the desktop client
You can also make your changes in your UVCS desktop client, and automatically resolve the change request when you check-in the changes:- Open the changeset or branch to make your changes.
- Open the Pending Changes tab.
- Select the Close change requested in review button and select the change request that these changes resolve. Note: You can select multiple change requests to resolve multiple at the same time.
- Select the Check in button.