Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • mercurial-devel mercurial-devel
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Merge requests 30
    • Merge requests 30
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Jobs
  • Commits
Collapse sidebar

Due to a massive storm of spam, registration on this instance now requires explicit administrator approval. Sorry for the added friction, we're also looking into automatic filtering options.

  • mercurialmercurial
  • mercurial-develmercurial-devel
  • Merge requests
  • !70

error: remove shortening of node in error message

  • Review changes

  • Download
  • Patches
  • Plain diff
Closed Pulkit Goyal requested to merge topic/default/tags into branch/default Feb 15, 2021
  • Overview 0
  • Commits 1
  • Pipelines 1
  • Changes 1

This makes it difficult to figure what exactly was node on which LookupError was called if we only have the error message.

I was debugging an error message which contained a short node and I tried to find out which callers raise LookupError with a short node. This turned out to be wrong because we short-ed the node before printing.

Let's be explicit and show whatever is passed to LookupError. If a short node is to be displayed, that should be done by callers.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: topic/default/tags