On Fri, 15 Jun 2012 14:48:54 +0100, Clare Macrae wrote:
> When a TortoiseHg "Refresh status..." starts, in a working directory
> of our main repo, it takes several minutes to complete [*]. This is
> very disruptive to workflow, so I would like to understand what could
> trigger TortoiseHg to refresh its status.

What kind of "refresh" message are you talking about?

If it is a start-up "Loading repository" dialog, it can be avoided by
disabling "Show Subrepos on Registory" option from "View" -> 
"Repogitory Registory Options" menu.

https://bitbucket.org/tortoisehg/thg/issue/940/

Or if your repository is located on very slow network drive and most
operations take a long time, try to disable file monitoring:

https://bitbucket.org/tortoisehg/thg/issue/889/#comment-993231

> For example, I can imagine that changes to the following might trigger a 
> refresh:
> 
>   - .hg/hgrc
>   - personal mercurial.ini
>   - and any files included by those
> 
> If that's true, how selective is the refresh? For example, if one turned
> on hgeol, a refresh would be required.
> But if one changed IssueTracking settings only (tortoisehg.issue.regex or
> tortoisehg.issue.link), would a "Refresh status..." be required?
> (How clever is it at analysing the nature of the changes)
> 
> And what about commits, pushes, pulls and updates - do they all trigger 
> checks?
> 
> So, is there any list or documentation anywhere that says what triggers
> "Refresh status..." please?

We have few options to tune up refresh timing or target.

> [*] in fact, 18 minutes and still counting, on a very fast PC...

Huh? I've never experienced such latency even on a slow laptop PC and
a network drive.

Regards,

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Tortoisehg-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

Reply via email to