mercurial as a wiki engine component
Bryan O'Sullivan
bos at serpentine.com
Sat Jun 24 05:54:03 UTC 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://lists.mercurial-scm.org/pipermail/mercurial/attachments/20060623/38e0ec60/attachment-0001.py>
More information about the Mercurial
mailing list