Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • hgitaly hgitaly
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 44
    • Issues 44
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • heptapodheptapod
  • hgitalyhgitaly
  • Issues
  • #62
Closed
Open
Issue created Jul 02, 2021 by Georges Racinet@gracinet🦑Owner0 of 2 checklist items completed0/2 checklist items

Method to run `hg recover`

This Mercurial specific gRPC call would perform the equivalent of hg recover.

We can add it to RepositoryService or put it in a service dedicated to Mercurial, same as in #60 (closed)

  • define the protocol
  • implement it

For the record here's what the Rails app currently does:

      def hg_recover
        hg_env = hg_env_minimal
        hg_env.update({ 'HGUSER' => 'Heptapod system',
                        'HEPTAPOD_SKIP_ALL_GITLAB_HOOKS' => 'yes' })
        hg_call(%w[recover], env: hg_env, success_code_can_be_one: true)
      end
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking