sapling/eden
Michael Bolin 1c695e6dc6 Fixed a bug in how we update the dirstate upon a snapshot change.
Summary:
Previously, we were clearing entries in `hgDirstateTuples` for which:

```
mergeState == NotApplicable
```

but we should have been checking for:

```
mergeState == NotApplicable AND status == Normal
```

The previous logic was causing us to erroneously clear entries in a state like:

```
mergeState == NotApplicable AND status == MarkedForRemoval
```

This bug manifested itself when grafting a change that removed a file.
The file was removed from disk, but Eden did not know that it had been
`MarkedForRemoval`, so it would report the removed file as "missing" in
`hg status`.

Reviewed By: wez

Differential Revision: D5797270

fbshipit-source-id: 29740dfaa8102db868b95e932716773787f317ac
2017-09-08 19:25:34 -07:00
..
cli add a CLI option to run edenfs under strace 2017-09-07 19:08:31 -07:00
docs update logging statements to use folly logging APIs 2017-06-22 13:50:13 -07:00
facebook Create a utility for enumerating and parsing Buck build traces. 2017-09-08 00:09:04 -07:00
fs Fixed a bug in how we update the dirstate upon a snapshot change. 2017-09-08 19:25:34 -07:00
hooks codemod: format TARGETS with buildifier [4/5] (D5092623) 2017-06-01 17:52:40 -07:00
integration Fixed a bug in how we update the dirstate upon a snapshot change. 2017-09-08 19:25:34 -07:00
DEFS move eden/fs/cli to eden/cli 2017-04-14 11:39:01 -07:00