[PATCH 4 of 4 topic-experiment] topics: show more information in `hg topics`

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Jun 29 11:47:34 EDT 2017



On 06/29/2017 05:44 PM, Pierre-Yves David wrote:
> On 06/26/2017 10:28 AM, Pulkit Goyal wrote:
>> # HG changeset patch
>> # User Pulkit Goyal <7895pulkit at gmail.com>
>> # Date 1497889184 -19800
>> #      Mon Jun 19 21:49:44 2017 +0530
>> # Node ID 8523d4018183cf29600c4b1633479e941f89c6c2
>> # Parent  4c0852883a31643a3f4fe50688f85ac90a8d63b9
>> topics: show more information in `hg topics`
>>
>> `hg topics` is the only way to show the list of topics currently. The 
>> default
>> version shows only the topics name which is very less. This patch 
>> makes `hg
>> topics` show number of changeset and branch related information also.
> 
> I'm not sure if this is the right thing to show, but it seems like a 
> good idea to show more. I've taken that one. too

actually I just checked the performance impact in a larger repository 
and it is quite visible :-/ I've dropped it for now. You can get the 
updated version as 89d79b2ac79b in my wip repository.


> 
> The output highlight a small bug where the branch of an emtpy topic is 
> "nothing". We should use the current branch instead can you look into this?
> 
> Cheers,
> 

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list