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

cachethg: set time on clear

Changeset 6496ec605e82

Parent 0bb88c0f937f

by Simon Heimberg

Changes to one file · Browse files at 6496ec605e82 Showing diff from parent 0bb88c0f937f Diff from another changeset...

 
67
68
69
 
70
71
72
 
86
87
88
89
90
91
92
93
 
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
 
67
68
69
70
71
72
73
 
87
88
89
 
 
90
91
92
 
107
108
109
 
 
110
111
112
113
114
 
 
115
116
117
@@ -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