Changeset 273b179a0014…
Parent db8d3f547aa0…
by
Changes to 2 files · Browse files at 273b179a0014 Showing diff from parent db8d3f547aa0 Diff from another changeset...
@@ -146,8 +146,7 @@ for lst, flag in ((added, 'A'), (modified, 'M'), (removed, 'R')):
for f in filter(func, lst):
wasmerged = ismerge and f in ctxfiles
- if hasattr(self._ctx, 'removeKbf'):
- f = self._ctx.removeKbf(f)
+ f = self._ctx.removeKbf(f)
files.append({'path': f, 'status': flag, 'parent': parent,
'wasmerged': wasmerged})
return files
|
@@ -128,6 +128,11 @@ def thgmqunappliedpatch(self): return True
def thgid(self): return self._identity
+ # kbfiles methods
+ def hasBfile(self, file): return False
+ def isKbf(self, path): return False
+ def removeKbf(self, path): return path
+
def longsummary(self):
summary = hglib.tounicode(self.description())
if self._repo.ui.configbool('tortoisehg', 'longsummary'):
|
Loading...