On 02.07.2010 09:17, TK Soh wrote:
> I am rather confused on something about the overlay icons (using thg
> 1.1) on Windows XP (32bit, SP3): the overlay icon of modified file
> changes to 'modified' almost immediately after I edit and save a file.
> But the icon remains as 'modified' after I undo the edit and save the
> file. I am aware I can run "Update Icons" to refresh.  Maybe I am
> missing something
> 
> I didn't have much time to debug, but below is the debug trace from
> debugview with the actions (I captured the screen but didn't attach in
> this post since it will probably get filtered by mailman):
> - open, edit and save doc\hgignore.5.txt -> icon changed to Modified
> - undo edit and save  doc\hgignore.5.txt -> icon stays as Modified
> - open, edit and save doc\gendoc.py -> icon changed to Modified
> (hgignore.5.txt  icon stays as Modified)
> - wait a few minutes - both icons remains as Modified
> - close both files on editor
> - open, undo edit and save doc\gendoc.py - both icons remains as Modified
> - wait ~30 minutes - both icons remains as Modified
> - run "Update Icons" menu - both icons switch to Unchanged
> 
> 
> [4720] [THGx86] [C] findHgRoot(c:\hg-stable\doc\hgignore.5.txt):
> hgroot = 'c:\hg-stable' (found repo)
> [4720] [THGx86] DirectoryStatus::read(c:\hg-stable): done. 0 entries
> read. noicons_ = 0
> [4720] [THGx86] Dirstatecache::get: lstat(c:\hg-stable\.hg\dirstate) ok
> [4720] [THGx86] [C] HgQueryDirstate: relbase = 'doc'
> [4720] [THGx86] [C] HgQueryDirstate: basedir_status = C
> [4720] [THGx86] [C] HgQueryDirstate: calling Thgstatus::update
> [4720] [THGx86] Thgstatus::update: sending 'update|c:\hg-stable' to
> \\.\pipe\TortoiseHgRpcServer-bc0c27107423-tksoh
> [4720] [THGx86] [C] findHgRoot(c:\hg-stable\doc\hgignore.5.txt):
> hgroot = 'c:\hg-stable' (found repo)
> [4720] [THGx86] DirectoryStatus::read(c:\hg-stable): done. 1 entries
> read. noicons_ = 0
> [4720] [THGx86] Dirstatecache::get: lstat(c:\hg-stable\.hg\dirstate) ok
> [4720] [THGx86] [C] HgQueryDirstate: relbase = 'doc'
> [4720] [THGx86] [C] HgQueryDirstate: basedir_status = M
> [4720] [THGx86] [C] findHgRoot(c:\hg-stable\doc\gendoc.py): hgroot =
> 'c:\hg-stable' (found repo)
> [4720] [THGx86] DirectoryStatus::read(c:\hg-stable): done. 1 entries
> read. noicons_ = 0
> [4720] [THGx86] Dirstatecache::get: lstat(c:\hg-stable\.hg\dirstate) ok
> [4720] [THGx86] [C] HgQueryDirstate: relbase = 'doc'
> [4720] [THGx86] [C] HgQueryDirstate: basedir_status = M
> [4720] [THGx86] [C] findHgRoot(c:\hg-stable\doc\gendoc.py): hgroot =
> 'c:\hg-stable' (found repo)
> [4720] [THGx86] DirectoryStatus::read(c:\hg-stable): done. 1 entries
> read. noicons_ = 0
> [4720] [THGx86] Dirstatecache::get: lstat(c:\hg-stable\.hg\dirstate) ok
> [4720] [THGx86] [C] HgQueryDirstate: relbase = 'doc'
> [4720] [THGx86] [C] HgQueryDirstate: basedir_status = M
> 
> ==== run Update Icons ====
> [4720] [THGx86] CShellExtCMenu::InvokeCommand
> [4720] [THGx86] CShellExtCMenu::InvokeCommand: idCmd = 16
> [4720] [THGx86] Thgstatus::update: sending 'remove|C:\hg-stable\doc'
> to \\.\pipe\TortoiseHgRpcServer-bc0c27107423-tksoh
> [4720] [THGx86] [C] findHgRoot(c:\hg-stable\doc\common.txt): hgroot =
> 'c:\hg-stable' (found repo)
> [4720] [THGx86] DirectoryStatus::read: can't open 'c:\hg-stable\.hg\thgstatus'
> [4720] [THGx86] Thgstatus::update: sending 'update|c:\hg-stable\doc'
> to \\.\pipe\TortoiseHgRpcServer-bc0c27107423-tksoh
> [4720] [THGx86] Dirstatecache::get: lstat(c:\hg-stable\.hg\dirstate) ok
> [4720] [THGx86] Dirstatecache::get: refreshing c:\hg-stable
> [4720] [THGx86] Dirstatecache::get: read done in 16 ticks, 2 repos in cache
> [4720] [THGx86] Dirstatecache::get: calling Thgstatus::update
> [4720] [THGx86] Thgstatus::update: sending 'update|c:\hg-stable\doc'
> to \\.\pipe\TortoiseHgRpcServer-bc0c27107423-tksoh
> [4720] [THGx86] [C] findHgRoot(c:\hg-stable\doc\common.txt): hgroot =
> 'c:\hg-stable' (found repo)
> [4720] [THGx86] DirectoryStatus::read(c:\hg-stable): done. 0 entries
> read. noicons_ = 0
> [4720] [THGx86] Dirstatecache::get: lstat(c:\hg-stable\.hg\dirstate) ok
> 

I've pushed

http://bitbucket.org/tortoisehg/stable/changeset/69ba8d0380eb

to stable or this.

Please try a next stable nightly (as soon as there appears one).


------------------------------------------------------------------------------
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

Reply via email to