tortoisehg / stable (http://tortoisehg.bitbucket.org/)

TortoiseHg repository. Main line of development in "default" branch. Releases, bugfixes, and documentation improvements in "stable" branch.

Clone this repository (size: 76.1 MB): HTTPS / SSH
$ hg clone http://bitbucket.org/tortoisehg/stable/
follow

#807 No new sync repository in repository explorer, after adding new remote repository.

Reported by Anonymous, created 3 months ago, last edited unknown.

Platform : Windows XP.

1. Setup new remote repository and set it as default. 2. Open repository explorer. 3. Tools\settings. Add another remote repository.

Bug (?) : No update in opened repository explorer drop down box.

Status: resolved Responsible: tortoisehg Type: bug
Milestone: none Component: history Version: 0.9.1.1

Attachments

No attachments added for this issue yet.

Comments and changes

#1

Steve Borho / sborho

→ Changed component from nothing to settings.

→ Changed responsible from nobody to tortoisehg.

→ Changed status from new to open.

Are you saying the repository added in step 3 is not shown in the drop-down box until the repository browser is restarted?

This is expected behavior if you launch the settings tool from the Tools menu, since apps launched via the Tools menu are in separate processes. They cannot communicate notifications back to their launching apps.

If you open the settings tool via the "configure" button on the sync bar, it opens the settings tool as a sub-window of the Repository Explorer (aka, within the same process). In this case, new URLs do show up in the drop down when you save settings because the explorer is notified.

This is not optimal (the difference is not obvious to the user), but that's how it works.

It would be nice if THG apps (or even hg command line commands) could communicate a signal to all open dialogs, telling them when to refresh.


#3

Peer Sommerlund / peso

→ Changed component from settings to history.

I just had a similar experience with nightly version 0.9.2+85-6fea4eb9320c

Maybe the Repository Explorer refresh button could be made to update the drop-down list?

Of course it is possible to monitor .hg/hgrc for timestamp changes, but how many files should be monitored, and how often should they be checked? If the refresh button could update this, then the user would have a better way of getting the desired behaviour.


Add comment / attachment

Show/hide preview

Verification: Please write the text from the image in the box (letters only)

captcha

Is that you, Humanoid? Is this me?