##// 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 for f in m + r:
1855 for f in m + r:
1856 fctx = ctx[f]
1856 fctx = ctx[f]
1857 repo.wwrite(f, fctx.data(), fctx.flags())
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 repo.setparents(qp, repo.nullid)
1861 repo.setparents(qp, repo.nullid)
1860 for patch in reversed(self.applied[start:end]):
1862 for patch in reversed(self.applied[start:end]):
1861 self.ui.status(_(b"popping %s\n") % patch.name)
1863 self.ui.status(_(b"popping %s\n") % patch.name)
@@ -2047,7 +2049,7 b' class queue(object):'
2047 mm.append(m[i])
2049 mm.append(m[i])
2048 del m[i]
2050 del m[i]
2049 for f in m:
2051 for f in m:
2050 repo.dirstate.normal(f)
2052 repo.dirstate.update_file_p1(f, p1_tracked=True)
2051 for f in mm:
2053 for f in mm:
2052 repo.dirstate.normallookup(f)
2054 repo.dirstate.normallookup(f)
2053 for f in forget:
2055 for f in forget:
General Comments 0
You need to be logged in to leave comments. Login now