sapling/eden/scm
Eli Lipsitz 829aee36fc physicalfilesystem: fix incorrect logic leading to duplicate path lookups
Summary:
This diff fixes some incorrect logic in the physicalfilesystem pendingchanges Rust code that leads to duplicate entries in the "lookup" list (files that need to have their contents checked to know whether they're dirty). We need to fix this, otherwise we'll do 2x the number of (potentially expensive) checks, and we'll need to deduplicate later anyway.

I believe this bug was originally introduced in D25697099 (02606da6c5) -- the change to this region of the code changes the behavior. I believe this was just an oversight when the code was refactored, since the change doesn't have anything to do with the purpose of the diff.

Reviewed By: DurhamG

Differential Revision: D34403900

fbshipit-source-id: 4c38e6a0ba46dfefc8f7ba327b943cb7ccee7fc5
2022-02-25 13:38:22 -08:00
..
contrib checkcode: remove old-style class check 2022-01-20 10:21:48 -08:00
distutils_rust codemod: update license headers 2022-01-05 14:43:32 -08:00
doc codemod: update license headers 2022-01-05 14:43:32 -08:00
edenscm snapshot: do not print commit cloud output on plain mode 2022-02-24 09:02:49 -08:00
edenscmnative physicalfilesystem: propagate 'rustwalkerthreads' config to pendingchanges 2022-02-17 08:37:19 -08:00
exec remove generated thrift code and fix external CI (#26) 2022-02-09 12:21:32 -08:00
hgcache_size_logger codemod: update license headers 2022-01-05 14:43:32 -08:00
i18n codemod: update license headers 2022-01-05 14:43:32 -08:00
lib physicalfilesystem: fix incorrect logic leading to duplicate path lookups 2022-02-25 13:38:22 -08:00
newdoc fix a couple of typos 2022-01-10 16:13:22 -08:00
pystubs codemod: update license headers 2022-01-05 14:43:32 -08:00
slides codemod: update license headers 2022-01-05 14:43:32 -08:00
tests deflake test-lfs.t 2022-02-24 10:01:01 -08:00
.editorconfig Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
.flake8 debugrebuildchangelog: support rebuild with lazy segmented changelog 2021-05-26 19:00:01 -07:00
.gitignore add github actions for EdenFS on linux and fix Eden SCM Mac build (#106) 2022-02-14 11:56:53 -08:00
.rustfmt.toml rustfmt: set group_imports to StdExternalCrate 2021-10-19 11:07:24 -07:00
Cargo.toml patched mysql_async v0.27.1 with features passed to mio (#24) 2022-02-20 15:22:57 -08:00
COPYING Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
fsprobe.sh codemod: update license headers 2022-01-05 14:43:32 -08:00
gen_version.py Add annotations to eden 2022-02-14 12:17:43 -08:00
hgeditor Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
Makefile move autocargo up one level (#101) 2022-02-08 06:07:52 -08:00
README.rst Move fb-mercurial sources into an eden/scm subdirectory. 2019-11-13 16:04:48 -08:00
setup.py add github actions for EdenFS on linux and fix Eden SCM Mac build (#106) 2022-02-14 11:56:53 -08:00

Mercurial
=========

Mercurial is a fast, easy to use, distributed revision control tool
for software developers.

Basic install::

 $ make            # see install targets
 $ make install    # do a system-wide install
 $ hg debuginstall # sanity-check setup
 $ hg              # see help

Running without installing::

 $ make local      # build for inplace usage
 $ ./hg --version  # should show the latest version

See https://mercurial-scm.org/ for detailed installation
instructions, platform-specific notes, and Mercurial user information.