View review status for all ancestors in Crucible with Mercurial

We are using Crucible with Mercurial and I'd like to see the status (i.e. reviewed or not) of all changesets that are ancestors of a given point. This is so before doing a merge into our mainline I can see that all the changes about to be merged have been succesfully reviewed.

I can partially do this in the commit graph but you cannot combine the "lineage" and the "reviewed changeset" views.

Essentially I'd like to do hg log --rev "ancestors(<rev>)" and get the review status of every commit returned. Is this part of the front end or do I need to write a script to use the API?

1 answer

I had the same requirement (with Subversion) and ended up writing a plugin which generates reports by branch, because it wasn't that easy to solve. You can find it on the Marketplace here:

https://marketplace.atlassian.com/plugins/biz.deref.flyover.flyoverForCrucible

I've tested and used it with Subversion and Git, but not extensively with Mercurial, so let me know if you encounter any issues due to peculiarities in Mercurial.

If you've got Fisheye as well I believe the reporting functionality there may help you but I'm not familiar with the details.

Great plugin - currently evaluating the trial version and we'll probably end up buying a license as it already looks very useful.

However, it doesn't fulfil the exact thing I was looking for (unless I am missing something in the report creation). I'm interested in the review history of changesets that were merged into a branch (the changeset being made another named branch originally). The changeset data can be extracted from the DVCS tool directly (although I don't see it in Cruicble or Fisheye) - "hg log --rev ancestors()" in Mercurial or "git log --ancestry-path" in Git.

Yes you're correct, the plugin won't follow ancestry across branches. It's not a straightforward test in Crucible, but it should be possible, and I can see how it would be useful.

I should run some tests to see exactly what Crucible/Fisheye consider as being on a branch since the concept is very different between Subversion and the DVCSes.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Monday in Jira Ops

Jira Ops Early Access Program Update #1: Announcing our next feature and a new integration

Thanks for signing up for Jira Ops! I’m Matt Ryall, leader for the Jira Ops product team at Atlassian. Since this is a brand new product, we’ll be delivering improvements quickly and sharing updates...

482 views 0 9
Read article

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