Changeset 39fa855da206…
Parent 173e792cea5c…
by
Changes to one file · Browse files at 39fa855da206 Showing diff from parent 173e792cea5c Diff from another changeset...
@@ -113,7 +113,8 @@ add(path, ROOT)
status = ROOT
else:
- status = overlay_cache.get(pdir, NOT_IN_REPO)
+ status = overlay_cache.get(pdir + '*', NOT_IN_REPO)
+ add(path, status)
debugf("%s: %s (cached)", (path, status))
return status
else:
@@ -180,12 +181,12 @@ except RepoError:
# We aren't in a working tree
debugf("%s: not in repo", pdir)
- add(pdir, IGNORED)
+ add(pdir + '*', IGNORED)
return IGNORED
except Exception, e:
debugf("error while handling %s:", pdir)
debugf(e)
- add(pdir, UNKNOWN)
+ add(pdir + '*', UNKNOWN)
return UNKNOWN
# get file status
@@ -208,6 +209,7 @@ tc = GetTickCount()
overlay_cache = {}
add(root, ROOT)
+ add(os.path.join(root, '.hg'), NOT_IN_REPO)
states = STATUS_STATES
if mergestate:
mstate = merge.mergestate(repo)
|
Loading...