I'm using BitBucket Cloud and I have a pull request that contains a new file that is 2700 lines.
I want to comment on the diff but the commenting features appear to be disabled even in single file view. The content is not visible in the integrated view.
Hi Philip,
We have limits for viewing content and diffs in Bitbucket Cloud as large resources require excessive processing.
These limits can be found here:
The relevant one in your case is the file's diff, which cannot exceed 2000 changed lines or 102,400 bytes (100 KB) of raw diff data. I believe that the reason for the issues you mentioned is that this specific file exceeds this limit.
The workaround that I could suggest here, if you need to use comments and view the diff on the website, would be to rewrite history and introduce this file with part of its content, less than the limit, then create a PR for that. Then add the rest of the content at a later commit (after the previous PR is merged) and create another PR. I realize that this may be less than ideal, but I'm afraid that it would be the only way to work around this issue with the limits we have in place at the moment.
Please feel free to let me know if you have any questions.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.