FYI: Hg Change Feed

Joel B. Mohler joel at kiwistrawberry.us
Sun Apr 7 12:36:08 CDT 2013


On 04/07/2013 08:43 AM, Dirkjan Ochtman wrote:
> On Sun, Apr 7, 2013 at 12:33 AM, Angel Ezquerra
> <angel.ezquerra at gmail.com> wrote:
>> It seems to me that this is something that could be done in hgweb by
>> implementing an atom and/or rss page for folders. It would probably be
>> much simpler to implement than the setup described in the page that
>> you sent too.
> Like Matt said, it wouldn't be that interesting to add to hgweb
> because it would still be pretty slow (at Mozilla, Facebook or kernel
> scale). It would be more interesting if Mozilla and/or Facebook got
> together on an extension that maintains a cache for this information
> using some smart datastructure, then this could get faster (both from
> the CLI and from the web).

I think there are lots of good reasons to have a richly indexed data 
store.  I implemented something similar to the OP for doing text 
searches across multiple repositories (wanted to look up bug id's when a 
bug-fix may have touched one or multiple of many repositories).  The sql 
lookup made the results immediate, but it would have been unusable had I 
merely searched with the mercurial keyword search.  At the time I 
believed that RhodeCode wasn't immediately usable for what I wanted, but 
it felt like it should have been.  It also feels like RhodeCode should 
be capable of what the OP wants (or at least an implementation would 
seem at home in RhodeCode).

Joel



More information about the Mercurial-devel mailing list