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

Re: [PATCH 7/9] Add infrastructure to write revisions in fast-export format

From
Ramkumar Ramachandra <artagnon@gmail.com>
Date
Jun 24, 2010, 19:29 UTC
Message-ID
<AANLkTikyjq7HQY1hUTOGF_oBsGDj_jUI-GwDBRdacCzG@mail.gmail.com>
In-Reply-To
<20100624110217.GG12376@burratino>
Hi again,
Jonathan Nieder wrote:
> repo_tree maintains the exporter's state and provides a facility to to
> call fast_export, which writes objects to stdout suitable for
> consumption by fast-import.

These files will also change significantly in a few days- see the ternary_treap branch.

> The exported functions roughly correspond to Subversion FS operations.
This description is sufficient for the commit message.
Show 21 quoted lines
>  . repo_add adds a file to the current commit.
>
>  . repo_modify adds a replacement for an existing file;
>   it is implemented exactly the same way, but a check could be
>   added later to distinguish the two cases.
>
>  . repo_copy copies a blob from a previous revision to the current
>   commit.
>
>  . repo_replace modifies the content of a file from the current
>   commit, if and only if it exists.
>
>  . repo_delete removes a file or directory from the current commit.
>
>  . repo_commit calls out to fast_export to write the current commit to
>   the fast-import stream in stdout.
>
>  . repo_diff is used by the fast_export module to write the changes
>   for a commit.
>
>  . repo_reset erases the exporter's state, so valgrind can be happy.

This is like API documentation- should it go into the commit message? Maybe put this in a a dedicated repo_tree.txt like trp.h?

-- Ram
Previous: Jonathan NiederNext: Jonathan Nieder
Message 21 of 35 in “Subversion dump parsing library”
  1. 0/9 Subversion dump parsing libraryJonathan Nieder, Jun 24, 2010
  2. 1/9 Export parse_date_basic() to convert a date string to timestampJonathan Nieder, Jun 24, 2010
  3. Ramkumar RamachandraJun 24, 2010
  4. 2/9 Introduce vcs-svn libJonathan Nieder, Jun 24, 2010
  5. Ramkumar RamachandraJun 24, 2010
  6. 3/9 Add memory pool libraryJonathan Nieder, Jun 24, 2010
  7. Ramkumar RamachandraJun 24, 2010
  8. Jonathan NiederJun 24, 2010
  9. Ramkumar RamachandraJun 24, 2010
  10. Jonathan NiederJun 24, 2010
  11. Ramkumar RamachandraJun 24, 2010
  12. 4/9 Add treap implementationJonathan Nieder, Jun 24, 2010
  13. Ramkumar RamachandraJun 24, 2010
  14. Jonathan NiederJun 24, 2010
  15. 5/9 Add string-specific memory poolJonathan Nieder, Jun 24, 2010
  16. Ramkumar RamachandraJun 24, 2010
  17. 6/9 Add stream helper libraryJonathan Nieder, Jun 24, 2010
  18. Ramkumar RamachandraJun 24, 2010
  19. Jonathan NiederJun 24, 2010
  20. 7/9 Add infrastructure to write revisions in fast-export formatJonathan Nieder, Jun 24, 2010
  21. Ramkumar RamachandraJun 24, 2010
  22. Jonathan NiederJun 24, 2010
  23. Jonathan NiederJun 24, 2010
  24. Ramkumar RamachandraJun 24, 2010
  25. 8/9 Add SVN dump parserJonathan Nieder, Jun 24, 2010
  26. Ramkumar RamachandraJun 24, 2010
  27. 9/9 Add a sample user for the svndump libraryJonathan Nieder, Jun 24, 2010
  28. Ramkumar RamachandraJun 24, 2010
  29. Jonathan NiederJun 24, 2010
  30. Ramkumar RamachandraJun 24, 2010
  31. Jonathan NiederJun 24, 2010
  32. Sam VilainJun 30, 2010
  33. Ramkumar RamachandraJun 24, 2010
  34. Jonathan NiederJun 24, 2010
  35. Jonathan NiederJun 24, 2010

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.