How to get log output (for cvsserver extension)

Christian Ebert blacktrash at gmx.net
Thu Apr 10 06:01:38 CDT 2008


* Frank Kingswood on Thursday, April 10, 2008 at 09:55:36 +0100
> For the next step in my cvsserver extension I need access to the hg log, 
> but looking at the function that implements log, this is nontrivial. I 
> was hoping for a simple iterator.
> 
> Can anyone point me in the direction of some code that generates a log 
> for one or several files?

filelog.filelog, and after opening a filelog feeding it to to
context.filectx?

<http://www.selenic.com/mercurial/wiki/index.cgi/MercurialApi#head-871af4456bdfc2fb34ae85d8f032fb6d31a082b9>

c
-- 
Patch queue to improve Mercurial's handling of non-ascii chars in mails:
<http://www.blacktrash.org/hg/hg-mail-mq/>
Mercurial crew repo, with mail improvement patch queue applied:
<http://www.blacktrash.org/hg/hg-crew-mq/>


More information about the Mercurial-devel mailing list