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
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.
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:
Hi All! We’re excited to share the launch of an announcement banner that lets Jira site administrators communicate directly to their users across their Jira Cloud instance. ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events