D8582: grep: reduce the cost of pathauditor checks when grepping working copy

2020-05-25 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REVISION SUMMARY Running `time hg grep zxczxczxczxczxc -l` on mozilla-central: before: real0m20,000s user0m15,796s sys 0m4,189s

D8581: grep: test that paths get audited

2020-05-25 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D8581 AFFECTED FILES tests/test-grep.t CHANGE DETAILS diff --git

D8580: grep: add test coverage of behavior on symlinks

2020-05-25 Thread valentin.gatienbaron (Valentin Gatien-Baron)
valentin.gatienbaron created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D8580 AFFECTED FILES tests/test-grep.t CHANGE DETAILS diff --git

[Bug 6335] New: hg status does not handle symlinked directory correctly when not listing unknowns

2020-05-25 Thread mercurial-bugs
https://bz.mercurial-scm.org/show_bug.cgi?id=6335 Bug ID: 6335 Summary: hg status does not handle symlinked directory correctly when not listing unknowns Product: Mercurial Version: default branch Hardware: All

Re: [PATCH 1 of 2] rust: fix false comment about mpsc::Sender

2020-05-25 Thread Raphaël Gomès
Good catch, patch 2 also looks good, thanks. On 5/25/20 4:27 PM, Yuya Nishihara wrote: # HG changeset patch # User Yuya Nishihara # Date 1590415327 -32400 # Mon May 25 23:02:07 2020 +0900 # Node ID 261fbbdabb261a44c0f82537f10abbcc0d85ace1 # Parent f3b69aecfdc3f6149a30f87bba43396890c2bee7

[PATCH 2 of 2] rust: leverage .expect() in place of .unwrap() + inline comment

2020-05-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1590415610 -32400 # Mon May 25 23:06:50 2020 +0900 # Node ID a5b88a7c25d3d8a02cbb2c1b9293200ddb0e06ac # Parent 261fbbdabb261a44c0f82537f10abbcc0d85ace1 rust: leverage .expect() in place of .unwrap() + inline comment For a better error

[PATCH 1 of 2] rust: fix false comment about mpsc::Sender

2020-05-25 Thread Yuya Nishihara
# HG changeset patch # User Yuya Nishihara # Date 1590415327 -32400 # Mon May 25 23:02:07 2020 +0900 # Node ID 261fbbdabb261a44c0f82537f10abbcc0d85ace1 # Parent f3b69aecfdc3f6149a30f87bba43396890c2bee7 rust: fix false comment about mpsc::Sender We need Sync to share the Sender reference

D8579: context: avoid computing status twice when comparing among revisions

2020-05-25 Thread rom1dep (Romain DEP.)
rom1dep created this revision. Herald added a reviewer: hg-reviewers. Herald added a subscriber: mercurial-patches. REPOSITORY rHG Mercurial BRANCH default REVISION DETAIL https://phab.mercurial-scm.org/D8579 AFFECTED FILES mercurial/context.py CHANGE DETAILS diff --git