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

Re: [user] git-svn and svn cp

From
Benoit Sigoure <tsuna@lrde.epita.fr>
Date
Nov 19, 2007, 13:20 UTC
Message-ID
<EB96D9F3-D69C-4D46-961C-27885CBC0E52@lrde.epita.fr>
In-Reply-To
<vpqzlxa2y2f.fsf@bauges.imag.fr>
On Nov 19, 2007, at 1:56 PM, Matthieu Moy wrote:
Show 11 quoted lines
> David Kastrup <dak@gnu.org> writes:
>
>> Matthieu Moy <Matthieu.Moy@imag.fr> writes:
>>
>>>> To verify I did:
>>>> git-svn clone -s svn://www.ogersoft.at/ogerlit
>>>
>>> I guess the --tags=... and --branches=... options of git-svn can  
>>> help.
>>
>> You are aware of what the "-s" option does?

I personally don't know and I went through the code to see that it's an (undocumented) alias for --stdlayout.

> Not in the details. Well, I believe the accurate question (to original
> poster) is: does your svn repository use the standard svn layout
> (tags/, branches/, trunk/)?
I think this is irrelevant to the question he asked.

Now I think that the fact that SVN does "lightweight" copies by recording that such modification was in fact an `svn cp' / `svn mv' isn't important for git-svn, because the data end up in the Git repository which handles copies and moves much much better than SVN does. But here the concerns raised by Gerhard seem to be more network-wise, in which case I don't know. I looked at the code, things seem to happen under the hood of Git::SVN::Fetcher but I don't see what can be optimized (the code isn't trivial). Most of the access are done through the underlying SVN Perl bindings, so if someone knows how to use them better, I think Eric will be eager to see the patches :)

-- 
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory
Previous: Matthieu MoyNext: gerhard.oettl.ml@ogersoft.at
Message 5 of 11 in “[user] git-svn and svn cp”
  1. gerhard.oettl.ml@ogersoft.atNov 19, 2007
  2. Matthieu MoyNov 19, 2007
  3. David KastrupNov 19, 2007
  4. Matthieu MoyNov 19, 2007
  5. Benoit SigoureNov 19, 2007
  6. gerhard.oettl.ml@ogersoft.atNov 19, 2007
  7. David KastrupNov 19, 2007
  8. Matthieu MoyNov 19, 2007
  9. Benoit SigoureNov 19, 2007
  10. Eric WongNov 19, 2007
  11. gerhard.oettl.ml@ogersoft.atNov 20, 2007

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.