Show More
@@ -25,6 +25,7 b' from . import (' | |||
|
25 | 25 | mergestate as mergestatemod, |
|
26 | 26 | obsutil, |
|
27 | 27 | pathutil, |
|
28 | policy, | |
|
28 | 29 | pycompat, |
|
29 | 30 | scmutil, |
|
30 | 31 | subrepoutil, |
@@ -1764,9 +1765,9 b' def _advertisefsmonitor(repo, num_gets, ' | |||
|
1764 | 1765 | b'fsmonitor', b'warn_update_file_count' |
|
1765 | 1766 | ) |
|
1766 | 1767 | # avoid cycle dirstate -> sparse -> merge -> dirstate |
|
1767 | from . import dirstate | |
|
1768 | dirstate_rustmod = policy.importrust("dirstate") | |
|
1768 | 1769 | |
|
1769 |
if dirstate |
|
|
1770 | if dirstate_rustmod is not None: | |
|
1770 | 1771 | # When using rust status, fsmonitor becomes necessary at higher sizes |
|
1771 | 1772 | fsmonitorthreshold = repo.ui.configint( |
|
1772 | 1773 | b'fsmonitor', |
General Comments 0
You need to be logged in to leave comments.
Login now