Branches and topics do not correspond to Mercurial identifiers
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
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
Either Heptapod should be fixed to list correct revsets, or Mercurial should be adjusted to recognise the identifiers mentioned by Heptapod.