Feature request. Cleanup closed branches.

Kevin Bullock kbullock+mercurial at ringworld.org
Sun Mar 17 13:57:38 CDT 2013


On 17 Mar 2013, at 9:02 AM, Constantine wrote:

> After active branching and periodical cleanup our graph can look like http://imageshack.us/photo/my-images/855/71518827.png/
> This is visual garbage, and, as said pmezard and tonfa, pure UI inconvenience. I propose to add simple toposort algorithm http://pastebin.com/pRcCJLS7 
> and periodically convert central repository, clients will not notice changes, because hashes remains the same.
> 
> At first I tried to extend contrib/shrink-revlog.py but according to http://markmail.org/thread/vwtdmhigce3iatyy it can't reorder changelog

Have you tried 'hg convert' with --branchsort?

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list