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

cache: only inherit error values

do not inherit state root for '.hg'
maybe inheriting should be removed?

Changeset 39fa855da206

Parent 173e792cea5c

by Simon Heimberg

Changes to one file · Browse files at 39fa855da206 Showing diff from parent 173e792cea5c Diff from another changeset...

 
113
114
115
116
 
 
117
118
119
 
180
181
182
183
 
184
185
186
187
188
 
189
190
191
 
208
209
210
 
211
212
213
 
113
114
115
 
116
117
118
119
120
 
181
182
183
 
184
185
186
187
188
 
189
190
191
192
 
209
210
211
212
213
214
215
@@ -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)