This is an archive of the discontinued Mercurial Phabricator instance.

githelp: improve help for `git add`
ClosedPublic

Authored by indygreg on Dec 19 2017, 12:36 AM.

Details

Summary

The old code was referencing record and crecord, which are
deprecated. hg commit --interactive is the preferred mechanism
to use.

In addition, there was duplicate code in this function. It has
been removed.

Tests have been added to cover this function.

Diff Detail

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

Event Timeline

indygreg created this revision.Dec 19 2017, 12:36 AM
durin42 accepted this revision.Dec 20 2017, 8:41 PM
This revision is now accepted and ready to land.Dec 20 2017, 8:41 PM
pulkit accepted this revision.Dec 28 2017, 3:56 PM
This revision was automatically updated to reflect the committed changes.