On Fri, Jul 2, 2010 at 5:04 PM, Steve Borho <[email protected]> wrote: > On Fri, Jul 2, 2010 at 11:50 AM, Richard > <[email protected]> wrote: >> [Please do not mail me a copy of your followup] >> >> I've also noticed that the icon status goes stale. >> >> I don't know if thg adopted the same algorithm for icon updates as >> TortoiseSVN, but tsvn has been broken for years now. The author of >> tsvn always seems to lay the blame at externalities, but there was a >> time when tsvn *always* got the status right and then at some point it >> was just broken and its never worked right since. > > TortoiseHg's overlays are a completely separate implementation from > TSVN, we only share icons and overlay slots with them. > > Our "staleness" problems all originate from the fact that the shell > extension is C++ and Mercurial is Python. Synchronizing state between > them is not a deterministic process, thus the presence of the 'update > icons' feature.
IIRC, the pure-python shellext in the very old tortoisehg (before switching to C++ version) didn't have problem on the conditions I described. I don't understanding how the shellext work any longer. but I wonder what lead to the stateless problem. Could it be due to the dirstate approach (not sure it's really in use) and/or the caching mechanism? ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Tortoisehg-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tortoisehg-discuss

