XP-Dev.com Documentation

Merge Requests

Merge Requests is a feature that is current in beta.

Please do contact us if you hit any problems or would like to provide feedback.

This feature is only available for Git and Mercurial repositories for the moment. Subversion support will be added at a later date.

If your development workflow follows the branch per feature/release and merge model, XP-Dev.com allows you to manage this easily using Merge Requests. You can use Merge Requests to perform code reviews before accepting a Merge Request into your main stable branch.

Essentially, a Merge Request is a request to merge one branch (called the source branch) of your repository to another branch (called the target branch). You will then have an option to provide feedback to this request by submitting and replying to comments.

Creating a Merge Request

  • Head over to your XP-Dev.com project's Repository tab
  • Click on the repository that you'd like to create a Merge Request for
  • Head to the Merge Requests sub-tab of your repository

Repository's Merge Requests Tab

In the Create a New Merge Request form, you will need to:

  • Pick a Source Branch - this is where your changes are currently on
  • Pick a Target Branch - this is where your charges will be merged into
  • Click on Create

Merge Request Form

You will then be presented with a list of incoming changes into the Target Branch

Commenting on a Merge Request

Once you have created a merge request, you can comment on it using the comment form below your merge request's details:

Merge Request Details

Notification for merge requests and comments are managed via your Notification Subscriptions page

Merging and/or Closing a Merge Request

Once you have created a merge request, you have two options:

  • Merge & Close Request: Merge the Source Branch into the Target Branch and close the request
  • Close Merge Request without Merging: This will not attempt any merging, and instead just close the request

Merge Request Details

Deleting a Merge Request

You can view your merge requests:

  • Head over to your XP-Dev.com project's Repository tab
  • Click on the repository that you'd like to view Merge Requests for
  • Head to the Merge Requests sub-tab of your repository

You can filter Open/Closed requests though the Status sub-tab.

To delete a request, you can just click on Delete Request

Merge Request Details

Feel free to contact us if you need any assistance.