git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
TMThomas Moschny <thomas.moschny@gmx.de>
Date
Sep 4, 2008, 10:50 UTC
Message-ID
<200809041250.17715.thomas.moschny@gmx.de>
In-Reply-To
<94a0d4530809040243k49635fd3kfef1ee22a6865e98@mail.gmail.com>
On Thu, Sep 4, 2008, Felipe Contreras wrote:
Show 8 quoted lines
> 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
Previous: Felipe ContrerasNext: Felipe Contreras
Message 13 of 21 in “[RFC] mtn to git conversion script”
  1. Felipe ContrerasAug 24, 2008
  2. Miklos VajnaAug 24, 2008
  3. Johannes SchindelinAug 24, 2008
  4. Miklos VajnaAug 24, 2008
  5. Felipe ContrerasAug 24, 2008
  6. Shawn O. PearceAug 24, 2008
  7. Felipe ContrerasAug 25, 2008
  8. Anand KumriaAug 28, 2008
  9. Felipe ContrerasAug 28, 2008
  10. Felipe ContrerasSep 4, 2008
  11. Jakub NarebskiSep 4, 2008
  12. Felipe ContrerasSep 4, 2008
  13. Thomas MoschnySep 4, 2008
  14. Felipe ContrerasSep 4, 2008
  15. Brian DowningAug 25, 2008
  16. Brian DowningAug 25, 2008
  17. Felipe ContrerasAug 25, 2008
  18. Brian DowningAug 25, 2008
  19. Anand KumriaAug 28, 2008
  20. Juan Jose ComellasNov 11, 2008
  21. Juan Jose ComellasNov 11, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.