Mercurial > evolve
diff tests/test-evolve-issue5832.t @ 4763:184c64c81528 stable
prune: spell --successor flag without any unnecessary shortcuts
If a user wants to spell out -s, it makes sense to allow that. Before this
patch, prune would complain that --successor is not a recognized option.
Obviously people don't usually need to spell --successors by hand thanks to
shell completion (at least for Bash) using debugcomplete to see all available
flags, so this patch doesn't bring any need for more typing.
And thanks to Mercurial understanding shortened forms of command-line flags as
long as they are unambiguous, the old-style `--succ` flags still work normally,
and there are tests that use them. But two tests now use the full form to
demonstrate that both ways work.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Fri, 19 Jul 2019 17:25:29 +0800 |
parents | bcd52ce0916d |
children | 79bc0f1a832e 143ac9ac77a3 |