Hi,
I have a very large pull request affecting 1688 files and 300k lines of code (280k deletions of dead code and 20k of new code (a two month refactoring process).
When I create the pull request on Bitbucket Cloud, it creates successfully, with the message:
"This is a large pull request. Large pull requests can only be viewed by loading files individually."
However, when I click on the files tab on the right (where it has the tabs "Details | Files | Activity"), I simply get "Can't load files. Try again." Trying again does nothing.
I have reloaded the page. I have cleared cache. I have tried different browsers, I do not know what to do. Please advise.
Hello @Kobus Myburgh ,
Thank you for reaching out to Atlassian Support.
From the description you have provided, your pull request is reaching the limit for viewing the content in the UI.
According to our documentation, diffs can't exceed the following limitations in order to be properly rendered in the UI:
- A file's diff cannot exceed 2000 changed lines or 102,400 bytes (100 KB) of raw diff data.
- The entire diff cannot exceed 8000 changed lines.
- The maximum number of files in a single diff is limited to 200.
Since these limits exist in order to secure stability in our platform for all users, I'd recommend you to check the diff for this specific PR locally using the following commands:
- Check which files have changed on this branch with the following command:
$ git diff --stat <source_branch> <destination_branch>- You can filter through these files with a simple grep piping
$ git diff --stat <source_branch> <destination_branch> | grep myFile.txt- If you need to check for the diff of a specific file, you can use this command
$ git diff <source_branch> <destination_branch> myFile.txt
We also have a feature request in our public issue tracker to implement the functionality of loading all the changed files of a Pull Request on the file tree navigation shown in the UI :
I would suggest you to add your vote there, since this helps both developers and product managers to understand the interest. Also, make sure you add yourself as a watcher in case you want to receive first-hand updates from that ticket. Please note that all features are implemented with this policy in mind.
Thank you, @Kobus Myburgh .
Kind regards,
Patrik S
Thank you, @Patrik S. I have added my vote to the feature request. Your hints on finding diffs manually is also very helpful. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.