Changeset 6496ec605e82…
Parent 0bb88c0f937f…
by
Changes to one file · Browse files at 6496ec605e82 Showing diff from parent 0bb88c0f937f Diff from another changeset...
@@ -67,6 +67,7 @@ else:
print "Timed out!!"
overlay_cache.clear()
+ cache_tick_count = GetTickCount()
# path is a drive
if path.endswith(":\\"):
overlay_cache[path] = NOT_IN_REPO
@@ -86,8 +87,6 @@ return NOT_IN_REPO
hgdir = os.path.join(root, '.hg', '')
if pdir == hgdir[:-1] or pdir.startswith(hgdir):
- if not overlay_cache:
- cache_tick_count = GetTickCount()
overlay_cache[pdir] = NOT_IN_REPO
return NOT_IN_REPO
try:
@@ -108,15 +107,11 @@ except RepoError:
# We aren't in a working tree
print "%s: not in repo" % pdir
- if not overlay_cache:
- cache_tick_count = GetTickCount()
overlay_cache[pdir] = IGNORED
return IGNORED
except StandardError, e:
print "error while handling %s:" % pdir
print e
- if not overlay_cache:
- cache_tick_count = GetTickCount()
overlay_cache[pdir] = UNKNOWN
return UNKNOWN
# get file status
|
Loading...