Heptapod 0.38.0rc3 Web UI fails with largefiles
I am trying to create a merge request from Web UI. I can choose source and target branches from the dropdown lists, but then the following error message appears: ``` The form contains the following errors: Source branch "branch/master" does not exist Target branch "branch/default" does not exist ``` This happens for any pair of branches. The `production.log` file contains this: ``` GRPC::Internal (13:Error loading repository: Other(UnsupportedFeature("repository requires feature unknown to this Mercurial: largefiles")). debug_error_string:{"created":"@1698994287.948491304","description":"Error received from peer unix:/var/opt/gitlab/rhgitaly/rhgitaly.socket","file":"src/core/lib/surface/call.cc","file_line":1063,"grpc_message":"Error loading repository: Other(UnsupportedFeature("repository requires feature unknown to this Mercurial: largefiles"))","grpc_status":13}): config/initializers/enumerator_next_patch.rb:9:in `block (2 levels) in <module:EnumeratorNextPatch>' lib/gitlab/gitaly_client/call.rb:43:in `block (3 levels) in instrument_stream' ... ``` Largefiles is globally enabled in `heptapod.hgrc`. I also noticed that the Files view (`/-/tree/branch/default` url) shows 404 error. I think this is quite important because it makes doing merge requests impossible. **UPDATE** I upgraded the server to 0.38.1, and it's even worse. Now even the main page cannot be opened if a single repo has largefiles enabled. The error is visible in `production.log` as ``` ActionView::Template::Error (13:Error loading repository: Other(UnsupportedFeature("repository requires feature unknown to this Mercurial: largefiles")).): 24: - if project.creator && use_creator_avatar 25: = render Pajamas::AvatarComponent.new(project.creator, size: 48, alt: '', class: 'gl-mr-5') 26: - else 27: = render Pajamas::AvatarComponent.new(project, size: 48, alt: '', class: 'gl-mr-5') 28: .project-cell{ class: css_class } 29: .project-details.gl-pr-9.gl-sm-pr-0.gl-w-full.gl-display-flex.gl-flex-direction-column{ data: { qa_selector: 'project_content', qa_project_name: project.name } } 30: .gl-display-flex.gl-align-items-center.gl-flex-wrap lib/gitlab/git/wraps_gitaly_errors.rb:15:in `rescue in wrapped_gitaly_errors' lib/gitlab/git/wraps_gitaly_errors.rb:6:in `wrapped_gitaly_errors' lib/gitlab/git/tree.rb:25:in `tree_entries' lib/gitlab/git/rugged_impl/tree.rb:30:in `tree_entries' lib/gitlab/git/tree.rb:21:in `where' app/models/tree.rb:16:in `initialize' app/models/repository.rb:717:in `new' app/models/repository.rb:717:in `head_tree' ... ```
issue