[PATCH] localrepo: better error message with obsmarkers but no evolve
timeless
timeless at gmail.com
Thu Sep 10 22:41:52 UTC 2015
jordi wrote:
> This error message is quite confusing.
yes, it's confusing.
> - _('obsolete feature not enabled but %i markers found!\n')
> + _('changeset evolution not enabled but %i '
> + 'obsolescence markers found!\n')
Here are my iterations:
"feature 'obsolete' isn't enabled; %i markers found!\n"
"found %i markers for inactive feature 'obsolete'!\n"
"found %i markers for feature 'obsolete' -- but it isn't enabled!\n"
one of these is probably close to as good as we can get, without adding a URL.
Looking through help:
$ hg --config extensions.evolve=! help -k obsolete
Topics:
revsets Specifying Revision Sets
Commands:
debugobsolete create arbitrary obsolete marker
debugsuccessorssets show set of successors for revision
log show revision history of entire repository or files
We could point to `hg debugobsolete`, since people could at least
*look* at their information that way, and perhaps decide how important
it is.
More information about the Mercurial-devel
mailing list