morestatus: sync the extension with the logic moved to core
Needs ReviewPublic

Authored by pulkit on Jan 6 2018, 3:01 AM.


Group Reviewers
Restricted Project

All the functionality of the morestatus extension was moved to core except the
update part. The update part hacks around the update command and stores the
argument passed before the update. This patch drops the code which was moved to
core, wraps the code in core to support the update state functionality. The
support for update in extension is bit hacky as functions which returns helpful
message for each state, does not take a repo argument in core.

Even after this patch, the config options and
morestatus.skipstates works the same way as they used to be.

There are some newlines changes because of bit change in format of output in

Diff Detail

rFBHGX Facebook Mercurial Extensions
Lint Skipped
Unit Tests Skipped
pulkit created this revision.Jan 6 2018, 3:01 AM
Herald added a reviewer: Restricted Project. ยท View Herald TranscriptJan 6 2018, 3:01 AM