mercurial as a wiki engine component

Bryan O'Sullivan bos at serpentine.com
Sat Jun 24 00:54:03 CDT 2006


On Fri, 2006-06-23 at 19:09 +0100, piotr maliński wrote:
> I've started to play with mercurial from the python script level
> yesterday and I have some "problems".

> r = revlog.revlog(getcwd(), 'what_is_indexfile?', "", 0)

You probably want to be using a filelog instead of a revlog, since it
will hide the index file details from you.

I've attached a simple example of how to use a filelog without all the
rest of the stuff that you don't care about.

	<b

-------------- next part --------------
A non-text attachment was scrubbed...
Name: wiki.py
Type: text/x-python
Size: 1997 bytes
Desc: not available
Url : http://www.selenic.com/pipermail/mercurial/attachments/20060623/38e0ec60/wiki-0001.py


More information about the Mercurial mailing list