Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • heptapod heptapod
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 157
    • Issues 157
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • 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
  • #391

Closed
Open
Created Dec 14, 2020 by Dan Villiom Podlaski Christiansen@dan

Branches and topics do not correspond to Mercurial identifiers

Summary

Branches are listed as e.g. branches/default whereas topics are listed as e.g. topic/default/fix. I can't just copy that into a Mercurial command. I have to edit it first, but I don't want to do that… I'm lazy!

(As an aside, the prefixes also make the identifiers quite wordy, and they're often clipped. Compared to them not working, though, I'd consider that a minor annoyance.)

Steps to reproduce

  1. Visit some merge request. (Pick one; I'm not linking to avoid the reference.)
  2. Click the little copy thingy.
  3. Paste that into a Mercurial command.

What is the current bug behavior?

branches/default is not a valid revset, nor is topic/heptapod-0-18/gl-13.5.5.

I'll note that this also applies to native Mercurial repositories, such as testhelpers.

What is the expected correct behavior?

Whatever you copy, it works in Mercurial.

Relevant logs and/or screenshots

image

$ hg up topic/default/doc-tweaks
abort: unknown revision 'topic/default/doc'!
$ hg up doc-tweaks
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
$ hg up branch/default
abort: unknown revision 'branch/default'!
$ hg up default
2 files updated, 0 files merged, 0 files removed, 0 files unresolved

Possible fixes

Either Heptapod should be fixed to list correct revsets, or Mercurial should be adjusted to recognise the identifiers mentioned by Heptapod.

Edited Dec 14, 2020 by Dan Villiom Podlaski Christiansen
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking