Changeset 50522cf1202b…
Parent add9b30f5cf4…
by
Changes to 2 files · Browse files at 50522cf1202b Showing diff from parent add9b30f5cf4 Diff from another changeset...
@@ -120,6 +120,9 @@ self.cacheroot = None
self.cacherepo = None
return None
+ except StandardError, e:
+ print e
+ return None
def run_dialog(self, menuitem, hgcmd, cwd = None):
'''
|
@@ -106,8 +106,17 @@ except RepoError:
# We aren't in a working tree
print "%s: not in repo" % pdir
- overlay_cache[path] = UNKNOWN
- return NOT_IN_REPO
+ 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
tc1 = GetTickCount()
|
Loading...