- 07 Apr, 2015 1 commit
-
-
maruel@chromium.org authored
This doesn't change the automatic command finder, so it really only helps increase match hit rate in case of low confidence level delta between the 2 top hits. For example, given commands 'set-commit' and 'dcommit', a user typing 'set_commit' would hit: - 'set-commit': 90% - 'dcommit': 70.5% Since subcommand.py uses a 30% minimum confidence level between the two top hit to automatically select a command, it will err on the side of safety and will abort instead of selecting 'set-commit'. This change fixes this specific case but won't trigger on partial matches, e.g. 'set_commi' for 'set-commit'. R=stip@chromium.org BUG= Review URL: https://codereview.chromium.org/1066923003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294700 0039d316-1c4b-4281-b951-d872f2087c98
-
- 02 Apr, 2015 1 commit
-
-
maruel@chromium.org authored
This officially drops support for '_' in command names, which is ugly as hell. '_' was very rarely used so it shouldn't affect too much users. Refactor the code to be more readable. R=stip@chromium.org BUG= Review URL: https://codereview.chromium.org/1040503003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@294660 0039d316-1c4b-4281-b951-d872f2087c98
-
- 08 Sep, 2014 1 commit
-
-
maruel@chromium.org authored
Because everyone needs humour. Fix a small bug in subcommands.py with undocumented commands. R=stip@chromium.org BUG= Review URL: https://codereview.chromium.org/554123003 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291867 0039d316-1c4b-4281-b951-d872f2087c98
-
- 22 Aug, 2013 1 commit
-
-
maruel@chromium.org authored
This makes it easier to type without using the shift-key, so an user can type 'git cl set-commit' and it'll find CMDset_commit. R=xusydoc@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/22918019 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@219054 0039d316-1c4b-4281-b951-d872f2087c98
-
- 17 Aug, 2013 1 commit
-
-
maruel@chromium.org authored
Update subcommand to support examples, always disable format_description and format_epilog and add colors when enabled. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/22824018 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@218180 0039d316-1c4b-4281-b951-d872f2087c98
-
- 16 Aug, 2013 1 commit
-
-
maruel@chromium.org authored
Use the code in git_cl.py, since it was the more evolved. Add documentation and clean up the structure along the way. This makes it possible to easily reuse the generic subcommand handling code. As a first step, only git_cl.py is using it. Eventually, gclient and gcl could be switch over. R=iannucci@chromium.org BUG= Review URL: https://chromiumcodereview.appspot.com/23250002 git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@218072 0039d316-1c4b-4281-b951-d872f2087c98
-