[Bug 5622] New: hg id option to not check for modified files
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Thu Jul 13 22:32:13 UTC 2017
https://bz.mercurial-scm.org/show_bug.cgi?id=5622
Bug ID: 5622
Summary: hg id option to not check for modified files
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
'hg id' has options to tailor what sort of identifying information to print,
but it doesn't have an option to omit the dirty-working-directory check (and
the resulting '+').
When the dirty status is not wanted, all the work done by 'hg id' to lstat()
every file is a latency-inducing waste. (This is particularly painful because
of bug 5621.)
(Yes, one can use "hg log -r . -T '{node|short}'", etc. to get the same
information, but it just seems like something that the id command should be
able to do as a short-hand.)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list