1. TortoiseHg
  2. TortoiseHg
  3. thg
  4. Issues
Issue #3422 new

Revision details is not updated on command "Open Subrepository"

Vladimir Sinenko
created an issue

Given either:

  • Subrepo tab is not open, or

  • Subrepo tab is open and the active revision is "working directory",

Issuing the command "Open Subrepository" from a particular changeset of the parent repository:

  • Switches to the suprepo tab (or opens it) - correct

  • Highlights the respective changeset - correct

  • But does not update the Revision details/Commit windows with the respective changeset - a possible bug.

The click on the highlighted changeset correctly updates all windows.

The bug is not reproduced when the selected revision is something other than "working directory".

Comments (4)

  1. Yuya Nishihara

    Do you set "Default widget = commit" or "Initial revision = workingdir" in Settings dialog?

    Subrepo tab is open and the active revision is "working directory",

    Probably this case is intended.

  2. Vladimir Sinenko reporter

    Yuya, thanks for the reply.

    I have the "Initial revision" set to "workingdir", and setting it to other values doesn't affect the reproducibility.

    I'm not sure the case is intended as the selection in the revision log changes to the appropriate revision, but other widgets (that are usually in sync with the revision log) aren't updated.

  3. Yuya Nishihara

    I have the "Initial revision" set to "workingdir", and setting it to other values doesn't affect the reproducibility.

    Doesn't it? I can reproduce this problem only if "Initial revision = workingdir" and it happens because

    • "initial revision = workingdir" opens "Commit" widget
    • then, "Goto Revision" is called.

    But, "Goto Revision" is designed not to switch task tabs.

  4. Log in to comment