This is an archive of the discontinued Mercurial Phabricator instance.

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

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

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

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 morestatus.show 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
core.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Jan 6 2018, 3:01 AM
Herald added a reviewer: Restricted Project. ยท View Herald TranscriptJan 6 2018, 3:01 AM