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

git-svn-problem: Unnecessary downloading entire branch?

From
MLMartin Larsson <martin.liste.larsson@gmail.com>
Date
Sep 16, 2009, 11:53 UTC
Message-ID
<1253102039.6509.143.camel@martin>

I have a local git-copy of the company svn-repository. The git-copy is up-to-date (git svn fetch). I then add a new branch in the svn-repository (svn cp http://.../trunk http://...branches/JIRA-4444). When I then do 'git svn fetch' again, it pulls all the files from the svn-repository.

I was expecting it to only pull the fact that a new branch was made (taking milliseconds), not all the files in the branch (taking more than half an hour to complete). Why does it need to transfer all the files?

I did have problems getting the original svn-repository. It took several days and stopped several times in the process. Each time it stopped, I just issued 'git svn fetch' again and it seemed to continue. Could this be related? How could I make a better copy?

M.
Next: Eric Wong
Message 1 of 2 in “git-svn-problem: Unnecessary downloading entire branch?”
  1. Martin LarssonSep 16, 2009
  2. Eric WongSep 23, 2009

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.