Changeset 39e11c940966…
Parent 7d45bf865523…
by
Changes to one file · Browse files at 39e11c940966 Showing diff from parent 7d45bf865523 Diff from another changeset...
@@ -14,6 +14,8 @@ # this program; if not, write to the Free Software Foundation, Inc.,
# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+import re
+
from tortoisehg.util import hglib, patchctx
from tortoisehg.hgqt.qtlib import geticon, getoverlaidicon
@@ -144,6 +146,7 @@ for lst, flag in ((added, 'A'), (modified, 'M'), (removed, 'R')):
for f in filter(func, lst):
wasmerged = ismerge and f in ctxfiles
+ f = re.sub(r'^\.kbf/', '', f)
files.append({'path': f, 'status': flag, 'parent': parent,
'wasmerged': wasmerged})
return files
|
Loading...