I am using mercurial to create a patch and upload it to crucible, however it cannot anchor no matter what I try. I've tried creating the patch exactly how the atlassian website says by using
hg diff > patch
However, when I upload the result, it does not anchor, even if I pick the repository manually from the drop down.
I have the repo cloned with the new files added, but not committed. The diff looks correct, but there must be something wrong to throw off the anchoring. I just want to be able to see iterative changes to the patches.
Any help is appreciated. Thanks
As you mentioned you are creating a patch for new files, not yet commited (i.e. not still indexed), it's expected Crucible won't be able to anchor this patch to the repository. In this case, the patches would be uploaded separately, as stated by the document with "If Crucible is unable to anchor the patch to a repository, you will only be able to upload the patches as separate files".
It's still possible, though, to perform iterative patch reviews even not being able to attach these patches to the repository. You can do this adding the patches as attachments, as follows:
In this case the only workaround I can think of is to review each file separately, uploading the first revision of this file (when it's created) to the review and, upon any changes, upload it again, with the same filename, so the diff will be done. This could be done, for each file, as follows (this is just an example of workflow):
I'm aware this may not be the most ideal solution. In case you have any thoughts on your mind and would like to share a suggestion please feel free to raise a feature request at https://jira.atlassian.com.
Everything below is tested on Ubuntu 17.10. I prefer to use Jira in a docker container because: 1. I can install Jira with a couple of commands. 2. I can start and stop Jira just by starting and s...
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!
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot