This is an archive of the discontinued Mercurial Phabricator instance.

githelp: don't crash when user does githelp -- git
ClosedPublic

Authored by simonfar on Jul 26 2017, 11:18 AM.
Tags
None
Subscribers
None

Details

Reviewers
ikostia
Group Reviewers
Restricted Project
Commits
rFBHGX93252c90e7d7: githelp: don't crash when user does githelp -- git
Summary

We didn't check for sanity when the user asked for hg githelp -- git -
oops. Fix the args test to catch you if you ask for help for git, as opposed to
(say) git commit.

Test Plan

Ran the new test cases.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

simonfar created this revision.Jul 26 2017, 11:18 AM
ikostia accepted this revision.Jul 26 2017, 11:23 AM
This revision is now accepted and ready to land.Jul 26 2017, 11:23 AM
This revision was automatically updated to reflect the committed changes.