diff -r 05c680ebf512 -r 873f638fd7db mercurial/context.py --- a/mercurial/context.py Sun Jun 25 17:00:15 2017 -0700 +++ b/mercurial/context.py Sun Jun 25 22:29:09 2017 -0700 @@ -1896,6 +1896,9 @@ """wraps repo.wwrite""" self._repo.wwrite(self._path, data, flags) + def setflags(self, l, x): + self._repo.wvfs.setflags(self._path, l, x) + class workingcommitctx(workingctx): """A workingcommitctx object makes access to data related to the revision being committed convenient.