This is an archive of the discontinued Mercurial Phabricator instance.

completion: don't suggest clean files to revert
ClosedPublic

Authored by martinvonz on Dec 18 2017, 2:25 PM.

Details

Summary

It looks like we used to suggest only modified, added, removed and
deleted files to revert until a821ec835223 (completion: selectively
use debugpathcomplete in bash_completion, 2013-03-21). The reasoning
in that commit was that getting the status was too slow and the
replacement (debugpathcomplete) seems to make sense for the other two
commands (remove and forget), but I'm not sure it was intentional to
change the behavior of completion for revert. Note that "add" and
"diff" already use status-based completion.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Dec 18 2017, 2:25 PM
yuja accepted this revision.Dec 20 2017, 8:11 AM
This revision is now accepted and ready to land.Dec 20 2017, 8:11 AM
This revision was automatically updated to reflect the committed changes.