Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • mercurial-devel mercurial-devel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 26
    • Merge requests 26
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar
  • mercurial
  • mercurial-develmercurial-devel
  • Merge requests
  • !80

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

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Pulkit Goyal requested to merge topic/default/rust-rocket into branch/default Apr 01, 2021
  • Overview 14
  • Commits 2
  • Pipelines 16
  • 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