sapling/eden/fs/service
Michael Bolin 017b35bca6 Add support for hg remove for an individual file.
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
2016-12-09 19:36:17 -08:00
..
oss Initial commit 2016-05-12 14:09:13 -07:00
__init__.py Refactor logic to create a EdenService.Client in Python. 2016-05-25 21:44:07 -07:00
client.py update the python client library to be python 2.x compatible 2016-09-30 19:13:13 -07:00
DEFS Move some logic out of EdenServiceHandler so it can be reused by the dirstate and test harness. 2016-10-21 13:32:02 -07:00
eden.stream.thrift additional query API for our thrift interface 2016-09-26 13:52:25 -07:00
eden.thrift Add support for hg remove for an individual file. 2016-12-09 19:36:17 -08:00
EdenError.h add some helper functions for constructing EdenErrors 2016-10-04 11:04:17 -07:00
EdenMountHandler.cpp call EdenMount::getDispatcher() and EdenMount::getRootInode() 2016-12-01 17:52:31 -08:00
EdenMountHandler.h Flip Dirstate -> EdenMount dependency. 2016-11-26 12:01:41 -08:00
EdenServer.cpp Add Thrift endpoints for Hg dirstate. 2016-11-26 12:01:41 -08:00
EdenServer.h Add Thrift endpoints for Hg dirstate. 2016-11-26 12:01:41 -08:00
EdenServiceHandler.cpp Add support for hg remove for an individual file. 2016-12-09 19:36:17 -08:00
EdenServiceHandler.h Add support for hg remove for an individual file. 2016-12-09 19:36:17 -08:00
main.cpp add ClientConfig method that compiles repository data 2016-08-05 12:50:29 -07:00
TARGETS Move some logic out of EdenServiceHandler so it can be reused by the dirstate and test harness. 2016-10-21 13:32:02 -07:00