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
- Visit some merge request. (Pick one; I'm not linking to avoid the reference.)
- Click the little copy thingy.
- 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
$ 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.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information