Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in tip

fogcreek filelistmodel: fix crash when browsing a patch

Changeset 8a383f0ffd74

Parent 83ec493f283d

by David Golub

Changes to one file · Browse files at 8a383f0ffd74 Showing diff from parent 83ec493f283d Diff from another changeset...

 
146
147
148
149
 
 
150
151
152
 
146
147
148
 
149
150
151
152
153
@@ -146,7 +146,8 @@
  for lst, flag in ((added, 'A'), (modified, 'M'), (removed, 'R')):   for f in filter(func, lst):   wasmerged = ismerge and f in ctxfiles - f = self._ctx.removeKbf(f) + if hasattr(self._ctx, 'removeKbf'): + f = self._ctx.removeKbf(f)   files.append({'path': f, 'status': flag, 'parent': parent,   'wasmerged': wasmerged})   return files