Mercurial > public > mercurial-scm > hg
diff tests/test-subrepo-deep-nested-change.t @ 44530:4d1634e59f13
rust-status: use bare hg status fastpath from Python
This change also adds a test case for subrepos.
Repeating the benchmark information from the `hg-core` commit:
On the Netbeans repository:
C: 840ms
Rust+C: 556ms
Mozilla Central with the one pattern that causes a fallback removed:
C: 2.315s
Rust+C: 1.700s
Differential Revision: https://phab.mercurial-scm.org/D7931
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Fri, 24 Jan 2020 11:06:01 +0100 |
parents | 69d4c8c5c25e |
children | ebee234d952a |
line wrap: on
line diff
--- a/tests/test-subrepo-deep-nested-change.t Fri Jan 17 15:09:02 2020 +0100 +++ b/tests/test-subrepo-deep-nested-change.t Fri Jan 24 11:06:01 2020 +0100 @@ -355,6 +355,11 @@ R sub1/sub2/folder/test.txt ! sub1/.hgsub ? sub1/x.hgsub + $ hg status -R sub1 + warning: subrepo spec file 'sub1/.hgsub' not found + R .hgsubstate + ! .hgsub + ? x.hgsub $ mv sub1/x.hgsub sub1/.hgsub $ hg update -Cq $ touch sub1/foo