sapling/eden/fs/inodes
Michael Bolin ab750945fe Fix an edge case in hg remove handling.
Summary:
The check on the type of an exception was inverted, which meant
`hg remove <path>` would throw an exception if the parent directory of `path`
did not exist. This is not correct because the user should be able to expect
to do:

```
mkdir -p /tmp/example
cd /tmp/example
hg init
mkdir mydir
touch mydir/a
hg add mydir/a
rm -rf mydir/a
hg rm mydir/a
```

In this scenario, `mydir` does not exist when `hg rm` is called, but the command
should succeed, making `mydir/a` no longer tracked.

Reviewed By: simpkins

Differential Revision: D4268451

fbshipit-source-id: 517d81252aa8e4b6bd1a32dece14776a9f7dd6f7
2016-12-09 16:11:59 -08:00
..
test Fix an edge case in hg remove handling. 2016-12-09 16:11:59 -08:00
Dirstate.cpp Fix an edge case in hg remove handling. 2016-12-09 16:11:59 -08:00
Dirstate.h store a pointer to the EdenMount in the Dirstate 2016-12-01 17:52:30 -08:00
DirstatePersistence.cpp write dirstate file atomically 2016-12-01 17:52:30 -08:00
DirstatePersistence.h Flip Dirstate -> EdenMount dependency. 2016-11-26 12:01:41 -08:00
EdenDispatcher.cpp move InodeBase from eden/fuse to eden/fs/inodes 2016-12-07 20:05:20 -08:00
EdenDispatcher.h move InodeBase from eden/fuse to eden/fs/inodes 2016-12-07 20:05:20 -08:00
EdenMount.cpp move InodeBase from eden/fuse to eden/fs/inodes 2016-12-07 20:05:20 -08:00
EdenMount.h move InodeBase from eden/fuse to eden/fs/inodes 2016-12-07 20:05:20 -08:00
EdenMounts.cpp call EdenMount::getDispatcher() and EdenMount::getRootInode() 2016-12-01 17:52:31 -08:00
EdenMounts.h call EdenMount::getDispatcher() and EdenMount::getRootInode() 2016-12-01 17:52:31 -08:00
FileData.cpp short-term code for checking ignore status 2016-12-01 17:52:30 -08:00
FileData.h remove fusell::DirInode and fusell::FileInode 2016-12-01 17:52:31 -08:00
FileHandle.cpp rename TreeEntryFileInode to FileInode 2016-11-30 15:49:13 -08:00
FileHandle.h rename TreeEntryFileInode to FileInode 2016-11-30 15:49:13 -08:00
FileInode.cpp move InodeBase from eden/fuse to eden/fs/inodes 2016-12-07 20:05:20 -08:00
FileInode.h move InodeBase from eden/fuse to eden/fs/inodes 2016-12-07 20:05:20 -08:00
InodeBase.cpp move InodeBase from eden/fuse to eden/fs/inodes 2016-12-07 20:05:20 -08:00
InodeBase.h move InodeBase from eden/fuse to eden/fs/inodes 2016-12-07 20:05:20 -08:00
Overlay.cpp ensure that we set materialized=true when loading overlay 2016-09-26 13:54:14 -07:00
Overlay.h eden: re-do overlay serialization 2016-09-09 16:57:58 -07:00
overlay.thrift Flip Dirstate -> EdenMount dependency. 2016-11-26 12:01:41 -08:00
TARGETS short-term code for checking ignore status 2016-12-01 17:52:30 -08:00
TreeInode.cpp move InodeBase from eden/fuse to eden/fs/inodes 2016-12-07 20:05:20 -08:00
TreeInode.h move InodeBase from eden/fuse to eden/fs/inodes 2016-12-07 20:05:20 -08:00
TreeInodeDirHandle.cpp eden: re-do overlay serialization 2016-09-09 16:57:58 -07:00
TreeInodeDirHandle.h Initial commit 2016-05-12 14:09:13 -07:00