Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8.1, 0.8.2, and 0.8.3

shellext: show no overlay icons if .hg/thgstatus contains '@@noicons'

Changeset f6c81a36cc3c

Parent 994997ccbc85

by Adrian Buehlmann

Changes to one file · Browse files at f6c81a36cc3c Showing diff from parent 994997ccbc85 Diff from another changeset...

 
175
176
177
 
 
 
 
 
 
 
178
179
180
 
187
188
189
190
191
 
192
193
194
 
175
176
177
178
179
180
181
182
183
184
185
186
187
 
194
195
196
 
 
197
198
199
200
@@ -175,6 +175,13 @@
  relpath[i] = '/';   }   + DirectoryStatus* pdirsta = DirectoryStatus::get(cur.hgroot, cur.basedir); + if (pdirsta && pdirsta->noicons()) + { + last = cur; + return 0; + } +   if (cur.isdir)   {   if (!relpath.empty()) @@ -187,8 +194,7 @@
  }   }   - DirectoryStatus* pds = DirectoryStatus::get(cur.hgroot, cur.basedir); - outStatus = (pds ? pds->status(relpath) : '?'); + outStatus = (pdirsta ? pdirsta->status(relpath) : '?');   }   else   {