Show More
@@ -1556,6 +1556,14 b' class workingfilectx(committablefilectx)' | |||||
1556 | # invert comparison to reuse the same code path |
|
1556 | # invert comparison to reuse the same code path | |
1557 | return fctx.cmp(self) |
|
1557 | return fctx.cmp(self) | |
1558 |
|
1558 | |||
|
1559 | def remove(self, ignoremissing=False): | |||
|
1560 | """wraps unlink for a repo's working directory""" | |||
|
1561 | util.unlinkpath(self._repo.wjoin(self._path), ignoremissing) | |||
|
1562 | ||||
|
1563 | def write(self, data, flags): | |||
|
1564 | """wraps repo.wwrite""" | |||
|
1565 | self._repo.wwrite(self._path, data, flags) | |||
|
1566 | ||||
1559 | class memctx(committablectx): |
|
1567 | class memctx(committablectx): | |
1560 | """Use memctx to perform in-memory commits via localrepo.commitctx(). |
|
1568 | """Use memctx to perform in-memory commits via localrepo.commitctx(). | |
1561 |
|
1569 |
General Comments 0
You need to be logged in to leave comments.
Login now