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

shellext: check if directories are tracked

With this change, directories that have no tracked files inside
get no icon. Previously, they showed 'clean' status.

Changeset 097fd60e7b58

Parent 520cbbc5b923

by Adrian Buehlmann

Changes to one file · Browse files at 097fd60e7b58 Showing diff from parent 520cbbc5b923 Diff from another changeset...

 
160
161
162
 
 
 
 
 
 
 
163
164
165
 
160
161
162
163
164
165
166
167
168
169
170
171
172
@@ -160,6 +160,13 @@
  return 0;   }   + if (!relpath.empty()) + { + Dirstate* pds2 = Dirstatecache::get(cur.hgroot, cur.basedir); + if (pds2 && !pds2->root().getdir(relpath)) + return 0; + } +   outStatus = pds->status(relpath);   }   else