[PATCH 04 of 10] repair: identify repository deficiencies

Gregory Szorc gregory.szorc at gmail.com
Sun Nov 6 12:38:56 EST 2016


On Sun, Nov 6, 2016 at 2:03 AM, timeless <timeless at gmail.com> wrote:

> Gregory Szorc wrote:
> > A command that upgrades repositories but doesn't say what it is doing
>
> shouldn't it still mention that it isn't doing the work?
>

Good question. I'm very open to UX improvements for this command. It is
debug functionality (for now), so I didn't spend as much energy on the UX
as I could have.

FWIW, I do have aspirations for command flags to control upgrade options. I
also thought it might be useful for something in non-debug land (`hg
summary`?) to expose informative "your repo isn't optimally stored"
messages. That's partially the reason "identify deficiencies" and
"determine final actions" are separate. (The main reason is putting it all
in 1 function will make it difficult for extensions to monkeypatch.)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20161106/2ee7ccd0/attachment.html>


More information about the Mercurial-devel mailing list