Mercurial > public > mercurial-scm > hg
comparison mercurial/context.py @ 33084:873f638fd7db
merge: change repo.wvfs.setflags calls to a new wctx[f].setflags function
As with previous changes in this series, this should be a no-op.
author | Phil Cohen <phillco@fb.com> |
---|---|
date | Sun, 25 Jun 2017 22:29:09 -0700 |
parents | ce96efec8112 |
children | 1e79c66d6b07 |
comparison
equal
deleted
inserted
replaced
33083:05c680ebf512 | 33084:873f638fd7db |
---|---|
1894 | 1894 |
1895 def write(self, data, flags): | 1895 def write(self, data, flags): |
1896 """wraps repo.wwrite""" | 1896 """wraps repo.wwrite""" |
1897 self._repo.wwrite(self._path, data, flags) | 1897 self._repo.wwrite(self._path, data, flags) |
1898 | 1898 |
1899 def setflags(self, l, x): | |
1900 self._repo.wvfs.setflags(self._path, l, x) | |
1901 | |
1899 class workingcommitctx(workingctx): | 1902 class workingcommitctx(workingctx): |
1900 """A workingcommitctx object makes access to data related to | 1903 """A workingcommitctx object makes access to data related to |
1901 the revision being committed convenient. | 1904 the revision being committed convenient. |
1902 | 1905 |
1903 This hides changes in the working directory, if they aren't | 1906 This hides changes in the working directory, if they aren't |