Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • heptapod heptapod
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 161
    • Issues 161
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • heptapod
  • heptapodheptapod
  • Issues
  • #224

Closed
Open
Created Mar 23, 2020 by vomout@vomout

Initialising a repository with a README fails

Creating a repository from the web interface (0.12.0rc3) with the "create initial README.md" option checked does not work: The interface afterwards fails to load the README and the logs have errors:

Completed 500 Internal Server Error in 156ms (ActiveRecord: 40.3ms)

Errno::ENOENT (No such file or directory @ rb_sysopen - /var/opt/gitlab/git-data/repositories/tuomov/secondtest.hg/.hg/git-mapfile):

lib/gitlab/git/repository.rb:377:in `initialize'
lib/gitlab/git/repository.rb:377:in `open'
lib/gitlab/git/repository.rb:377:in `hg_sha_map'
lib/gitlab/git/repository.rb:401:in `hgsha_from_sha'

Moreover, the README.md is not to be found when pulling the Mercurial repository.

Probably this is due to the one-way hg-git bridge, and it might be simplest to disable the README-creation option for now?

/label Bug

Edited Mar 23, 2020 by vomout
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking