Create a review for feature branch in mercurial?

Is there a quick way to create a review for a feature branch?

Currently we use uploaded patches created with "hg diff -r default".

3 answers

Hi Sten, It's pretty terrible to say that it would be too hard. GitHub does it, and a LOT better than Crucible. What any Agile team needs, using Git Flow methodology is the ability to create a review and pick up every commit since the branch point. Then, once the developer has made some fixes, the review should automatically update with new commits in the branch. When will we get this functionality? I have a branch with literally hundreds of commits in it in front of me - several people have tried to create a review and it's just impossible.

I have the exact same question. I hope Atlassian will respond.

Hi Miki,

There is no direct way to create a review for an entire feature branch via the web interface in Crucible. We deliberatly took the approach of letting users pick individual changesets, or upload patches for specific cases. Having the possiblity to diff an entire branch would request much more effort for us, especially to make sure that this feature can scale for branches with a lot of commits.

You can however leverage the REST API to create a review and add all the corresponding changesets to it.

I looked on our marketplace and I've found a plugin that might help you in this task.

Let me know if this helps.

Sten Pittet
Dev Tools Product Manager

Couldn't you just create a tool in the UI where you specify two commits and just creates a review with that diff (as if a patch was uploaded)? It's extremely annoying to have to do it manually and upload it. The feature branches model typically you review all changes from the last sync with the base branch, you almost never review a single commit. And still, incremental updates are not that useful, since you have to keep the context in your head.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

27,222 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you