##// END OF EJS Templates
mq: replace usage of `normal` with newer API...
marmoute -
r48517:d905eff4 default
parent child Browse files
Show More
@@ -1855,7 +1855,9 b' class queue(object):'
1855 1855 for f in m + r:
1856 1856 fctx = ctx[f]
1857 1857 repo.wwrite(f, fctx.data(), fctx.flags())
1858 repo.dirstate.normal(f)
1858 repo.dirstate.update_file(
1859 f, p1_tracked=True, wc_tracked=True
1860 )
1859 1861 repo.setparents(qp, repo.nullid)
1860 1862 for patch in reversed(self.applied[start:end]):
1861 1863 self.ui.status(_(b"popping %s\n") % patch.name)
@@ -2047,7 +2049,7 b' class queue(object):'
2047 2049 mm.append(m[i])
2048 2050 del m[i]
2049 2051 for f in m:
2050 repo.dirstate.normal(f)
2052 repo.dirstate.update_file_p1(f, p1_tracked=True)
2051 2053 for f in mm:
2052 2054 repo.dirstate.normallookup(f)
2053 2055 for f in forget:
General Comments 0
You need to be logged in to leave comments. Login now