Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • thg thg
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 838
    • Issues 838
    • List
    • Boards
    • Service Desk
    • Milestones
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • mercurialmercurial
  • TortoiseHgTortoiseHg
  • thgthg
  • Issues
  • #5758
Closed
Open
Issue created Nov 24, 2021 by Fernando Najera@fnajera-rac-de

Wrong revision suggested in Update... dialog

In our daily usage of TortoiseHG (5.9.2) we are often getting a wrong revision suggested in the "Update..." dialog.

Since this dialog is one of the basic dialogs of TortoiseHG, for us it is critical to be able to trust this dialog.

Note that this is probably what #5396 reported over two years ago, but there was no repro there.

We start with a very simple repository (see end of this ticket):

  • two branches "b1" and "b2" coming from "default",
  • the contents of the revisions are not important,
  • the Filter Toolbar is opened, and the branch combobox shows "Show all"
  • the working copy is currently in head of "b2"

r1

Next:

  • use the combobox to set the branch to "default"
  • right click on the revision 0, and open the menu "Update..."
  • see that the "Update to" combobox is correct:

r2

Next:

  • use the combobox to set the branch to "b1"
  • right click on the revision 1, and open the menu "Update..."
  • see that the "Update to" combobox is wrong:

r3

Repository:

hg init
echo. > file
hg add file
hg ci -m "test 1"
hg branch b1
echo. >> file
hg ci -m "test 2"
hg update default
hg branch b2
echo. >> file
hg ci -m "test 3"
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking