Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

iconoverlay: tweak debug messages

this is to help debug Vista overlay problems

Changeset 3f29cde12204

Parent 874e954ac12c

by Steve Borho

Changes to one file · Browse files at 3f29cde12204 Showing diff from parent 874e954ac12c Diff from another changeset...

 
119
120
121
122
 
123
124
125
 
126
127
128
 
138
139
140
141
142
 
 
143
144
145
 
204
205
206
207
208
 
 
209
210
211
 
119
120
121
 
122
123
124
 
125
126
127
128
 
138
139
140
 
 
141
142
143
144
145
 
204
205
206
 
 
207
208
209
210
211
@@ -119,10 +119,10 @@
  if cache_pdir == pdir:   root = cache_root   else: - print "find new root from", upath, "was", cache_pdir + print "find new root from", path, "was", cache_pdir   cache_pdir = pdir   cache_root = root = thgutil.find_root(pdir) - print "_get_state: root = ", root + print "_get_state: new root = ", root   if root is None:   print "_get_state: not in repo"   overlay_cache = {None : None} @@ -138,8 +138,8 @@
  global_opts = ui.ui().configlist('tortoisehg', 'overlayicons', [])   repo_opts = repo.ui.configlist('tortoisehg', 'overlayicons', [])   - print "%s: global overlayicons = " % path, global_opts - print "%s: repo overlayicons = " % path, repo_opts + # print "%s: global overlayicons = " % path, global_opts + # print "%s: repo overlayicons = " % path, repo_opts   is_netdrive = thgutil.netdrive_status(path) is not None   if (is_netdrive and 'localdisks' in global_opts) \   or 'False' in repo_opts: @@ -204,8 +204,8 @@
  return S_OK   return S_FALSE   finally: - print "IsMemberOf: _get_state() took %d ticks" % \ - (win32api.GetTickCount() - tc) + print "IsMemberOf(%s): _get_state() took %d ticks" % \ + (self.state, win32api.GetTickCount() - tc)    def make_icon_overlay(name, icon_type, state, clsid):   """