mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
017b35bca6
Summary: This adds support for `hg remove <file>` in Eden and sets up some of the scaffolding to support `hg remove <directory>`. Note that the Thrift API for `scmRemove()` is slightly different than that of `scmAdd()` in that it returns a list of error messages to display to the user rather than throwing an exception. In practice, for batch operations, Mercurial will allow some operations to succeed while others may fail, so it is possible to have multiple error messages to return. Unlike the current implementation of `hg add`, this does the directory traversal on the server rather than on the client. Once we work out how to do this for `hg remove`, we should figure out how to reuse the logic for `hg add`. Reviewed By: simpkins Differential Revision: D4263068 fbshipit-source-id: d084774d562c48c59664f313eba229d4197929fe |
||
---|---|---|
.. | ||
oss | ||
__init__.py | ||
client.py | ||
DEFS | ||
eden.stream.thrift | ||
eden.thrift | ||
EdenError.h | ||
EdenMountHandler.cpp | ||
EdenMountHandler.h | ||
EdenServer.cpp | ||
EdenServer.h | ||
EdenServiceHandler.cpp | ||
EdenServiceHandler.h | ||
main.cpp | ||
TARGETS |