Mercurial > hg
diff mercurial/ignore.py @ 24221:4e240d6ab898
dispatch: offer near-edit-distance suggestions for {file,rev}set functions
Before this patch, when I have a brain fart and type `hg log -r
'add(foo)'`, hg exits and just says add isn't a function, leading me
to the help page for revset to figure out how to spell the
function. With this patch, it suggests 'adds' as a function I might
have meant.
author | Augie Fackler <augie@google.com> |
---|---|
date | Mon, 26 Jan 2015 15:43:13 -0500 |
parents | 0127366df8fe |
children | 8cf7f0c4cb14 |