Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mercurial-devel-native-test mercurial-devel-native-test
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 12
    • Issues 12
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 22
    • Merge requests 22
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • heptapod
  • Testing Projects
  • mercurial-devel-native-testmercurial-devel-native-test
  • Merge requests
  • !80

Closed
Created Apr 01, 2021 by Raphaël Gomès@raphael.gomesMaintainer
  • Report abuse
Report abuse

rhg: try read [paths] for `--repository` value

  • Overview 14
  • Commits 2
  • Pipelines 1
  • Changes 6

hg parses -R and --repository CLI arguments "early" in order to know which local repository to load config from. (Config can then affect whether or how to fall back.)

The value of of those arguments can be not only a filesystem path, but also an alias configured in the [paths] section. This part was missing in rhg and this patch implements that.

The #if no-rhg is still not removed completely as those two [paths] are read from .hg/hgrc of directory in which the command is running. That will be implemented in the next patch.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: topic/default/rust-rocket