Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,465,022
Community Members
 
Community Events
176
Community Groups

Large pull request: "Can't load files"

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.

1 answer

1 accepted

0 votes
Answer accepted
Patrik S Atlassian Team Jul 12, 2022

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:

  1. Check which files have changed on this branch with the following command:
    $ git diff --stat <source_branch> <destination_branch>
  2. You can filter through these files with a simple grep piping
    $ git diff --stat <source_branch> <destination_branch> | grep myFile.txt
  3. 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!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events