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

Re: [RFC 0/2] svn-fetch|push - an alternate approach

From
Michael Haggerty <mhagger@alum.mit.edu>
Date
Aug 21, 2012, 07:06 UTC
Message-ID
<5033336C.4050906@alum.mit.edu>
In-Reply-To
<5030BE33.9000007@gmail.com>
On 08/19/2012 12:21 PM, Marco Schulze wrote:
Show 13 quoted lines
> 
> On 18-08-2012 14:39, James R. McKaskill wrote:
>> As a twist the code does not use the svn library, but rather talks the
>> svn protocol directly. I actually found it much easier to go this route
>> then trying to bend everything to how the svn library understands
>> things. It also has the advantage of not depending on libsvn. A number
>> of distributions currently distribute the svn specific parts of git
>> seperately to avoid this dependency.
> It is a bit of a pain to work with libsvn, but I think it is worth using 
> it, not only due to protocol support, but also due to ready-to-use 
> support for SVN deltas and dumps.  Pipelining could be implemented by 
> maintaining a set of connections (svn_ra_session_t structures) and 
> manually distributing work between them.

Using libsvn would also have the benefit of letting the Subversion project worry about forwards and backwards compatibility if the protocol ever changes. (They tend to be quite diligent about that.)

Michael
-- 
Michael Haggerty
mhagger@alum.mit.edu
http://softwareswirl.blogspot.com/
Previous: Marco SchulzeNext: James McKaskill
Message 5 of 6 in “[RFC 0/2] svn-fetch|push - an alternate approach”
  1. James R. McKaskillAug 18, 2012
  2. 1/2 add svn-fetch/pushJames R. McKaskill, Aug 18, 2012
  3. 2/2 add tests for git svn-fetch|pushJames R. McKaskill, Aug 18, 2012
  4. Marco SchulzeAug 19, 2012
  5. Michael HaggertyAug 21, 2012
  6. James McKaskillAug 22, 2012

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.