Marking subrepos in 'hg status'

Martin Geisler mg at aragost.com
Tue Oct 19 02:26:50 CDT 2010


timeless <timeless at gmail.com> writes:

> On Mon, Oct 18, 2010 at 6:05 PM, Martin Geisler <mg at aragost.com> wrote:
>> With your suggestion we can have
>>
>>   M sub1/
>>   M sub1/a
>>   M sub2/
>>   M sub2/x
>>   A sub1/
>>   A sub1/b
>>   A sub2/
>>   A sub2/y
>>
>> Where we first sort by state and then by subrepo. It does lead to quite
>> a few mentions of each subrepository, though.
>
> Only in the case where there are lots of sub repos with very few
> changes. In the normal case you'll probably have >6 dirty files per
> sub repo. Or you'll have subrepos with very few distinct states. I
> don't think it's such a big problem.

I agree -- I think this is a nice and consistent way to show the status.

-- 
Martin Geisler

aragost Trifork
Professional Mercurial support
http://aragost.com/mercurial/


More information about the Mercurial-devel mailing list