Changeset 6d0f3037e5ee…
Parent 319ba8067626…
by
Changes to one file · Browse files at 6d0f3037e5ee Showing diff from parent 319ba8067626 Diff from another changeset...
@@ -301,8 +301,13 @@ {
if (!relpath.empty() && !pds->root().getdir(relpath))
{
- last = cur;
- return 0; // unknown dir -> no icon
+ // attempt to get status from kbfiles
+ pds = Dirstatecache::get(cur.hgroot, cur.basedir, unset, true);
+ if (!pds || !pds->root().getdir(relpath))
+ {
+ last = cur;
+ return 0; // unknown dir -> no icon
+ }
}
outStatus = (pdirsta ? pdirsta->status(relpath) : '?');
|
Loading...