hgweb page with hg log -b <branchname>

Johan Samyn johan.samyn at gmail.com
Tue Dec 29 16:07:27 CST 2009


2009/12/29 Johan Samyn <johan.samyn at gmail.com>:
> It surprised me that I could not just reuse some standard log-command
> logic (passing it the '-b <branchname>' option and some counter
> arguments), and present the returned results in the web page. IMHO I
> think the standard log-command logic should be the best of all - in
> all aspects - within Mercurial for providing this type of data. But
> every function in hgweb/webcommands.py does things it's own way. Maybe
> I'm missing a good reason for that ? Perhaps it is the fact that
> webcommands.py functions read just enough data to display a page, and
> no more ? Then I still don't see why the log-command logic could not
> have been providing a generator function, just like the functions in
> webcommands.py. (Please don't take this as pure criticism. As I said,
> I could be missing something.)
> Johan
>
Dirkjan, I later noticed you are the principal developer of the
hgweb/webcommands.py source. So maybe you can enlighten me on this ?
Johan


More information about the Mercurial-devel mailing list