[Bug 5621] New: hg id could be faster when local modifications are present
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Thu Jul 13 18:22:00 UTC 2017
https://bz.mercurial-scm.org/show_bug.cgi?id=5621
Bug ID: 5621
Summary: hg id could be faster when local modifications are
present
Product: Mercurial
Version: 4.1.2
Hardware: PC
OS: Other
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: jeffpc at josefsipek.net
CC: mercurial-devel at mercurial-scm.org
(Note, the actual version is 4.1.3, but it doesn't appear to be an option in
the dropdown)
Suppose you try to run 'hg id'. Mercurial lstat()s all the files to determine
if it needs to print a '+' or not. If there are changes, the code should be
able to stop the moment if find a file that doesn't match the manifest.
Regardless of the presence of modifications, it seems to lstat() all the files.
This becomes especially annoying on larger repositories (e.g., 40k files).
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list