monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Monotone-devel] Re: [RFC] mtn to git conversion script


From: Thomas Moschny
Subject: Re: [Monotone-devel] Re: [RFC] mtn to git conversion script
Date: Thu, 4 Sep 2008 12:50:09 +0200
User-agent: KMail/1.10.0 (Linux/2.6.25-14.fc9.x86_64; KDE/4.1.0; x86_64; ; )

On Thu, Sep 4, 2008, Felipe Contreras wrote:
> Ok, now the basics seem to be working. So I'm uploading some code if
> anyone wants to take a look.
>
> The C code is generating a topologically sorted list of revisions, and
> storing the relevant information (certs and parents) separately. This
> code is very fast. It's using GLib and sqlite3, so probably the GLib
> stuff should be converted to use libgit.
> http://gist.github.com/8742

You shouldn't access Monotone's sqlite database directly, for various reasons. 
Use the Automation Interface instead, see 
http://www.monotone.ca/docs/Automation.html#Automation. Using 'mtn automate 
stdio', you can feed an arbitrary amount of commands to one single running mtn 
process.

- Thomas

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]