Improving requirement error message

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Jun 22 17:29:32 CDT 2011


On 22 juin 2011, at 23:59, Matt Mackall wrote:

>> This message need to:
>> 
>> * Hint how to solve the issue
>>   - With upgrading.
>>   - Without upgrading
> 
> I think we'll need a URL.
> 
>> * List all missing requirement
> 
> Ok.
> 
>> * Refer to a version issue
>> * make it clear that the issue only occurs with on-disk repository.
> 
> Is there a specific proposal yet?

My current proposal is:

abort: can not read local repository: requires feature 'foo', 'bar', 'babar' not included this version.
(see http://mercurial.selenic.com/wiki/MissingRequirement for help)

For reference, the current message is

abort: unknown repository format: requires feature 'indoor-pool' (upgrade Mercurial)!

-- 
Pierre-Yves David






More information about the Mercurial-devel mailing list