[PATCH v2] resolve: when pats do not match, hint about path:

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Mar 9 12:23:02 EST 2016



On 03/08/2016 03:31 PM, Yuya Nishihara wrote:
> On Mon, 7 Mar 2016 12:06:21 -0500, timeless wrote:
>>> I don't get the point. "hg resolve" does nothing special on paths handling.
>>> Is it common to specify a repository path in place of a relative path?
>>
>> It's common to do:
>> `hg resolve --list`
>>
>> Having manually fixed things, it's reasonable to try:
>>
>> `hg resolve an-entry-from-resolve-list`
>>
>> But, if your current directory is not the repository root, then it won't work.
>
> Doh, so "hg resolve" has the same issue as "hg status". That's unfortunate.
>
> I'm not excited about this patch, but your opinion seems legit. I'll queue this
> if there's no -1.

I'm sad about the situation and not exited about the fix. However, 
timeless hint still seems an improvement to the current situation. I 
think we should probably take it. As yuya seems to agree I've pushed it 
to the clowncopter.

Cheers.

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list