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

Re: git-svn: File added multiple times?

From
EWEric Wong <normalperson@yhbt.net>
Date
Dec 2, 2006, 22:34 UTC
Message-ID
<20061202223419.GA7057@localdomain>
In-Reply-To
<87psb2ou6f.fsf@mid.deneb.enyo.de>
Florian Weimer <fw@deneb.enyo.de> wrote:
Show 17 quoted lines
> Is this expected?
> 
> $ sort /tmp/git-svn-output | uniq -c | sort -rn | head
>       4         A       mlton/trunk/doc/web/papers/index.html
>       4         A       mlton/trunk/doc/web/papers/01-icfp.ps.gz
>       4         A       mlton/trunk/doc/web/papers/00-esop.ps.gz
>       4         A       mlton/trunk/doc/examples/save-world/save-world.sml
>       4         A       mlton/trunk/doc/examples/save-world/Makefile
>       4         A       mlton/trunk/doc/examples/profiling/profiling.sml
>       4         A       mlton/trunk/doc/examples/profiling/Makefile
>       4         A       mlton/trunk/doc/examples/ffi/Makefile
>       4         A       mlton/trunk/doc/examples/ffi/main.sml
>       4         A       mlton/trunk/doc/examples/ffi/ffi.h
> $ 
> 
> It's somewhat counter-intuitive, at least.  This is with Debian's
> git-core 1.4.4.1-1 package, and the SVN:: Perl modules are installed.

No it's not expected. Is this on a public SVN repo I can look at? Thanks.

git-svn 1.4.4.1 always cat-ed the entire file (this code was stolen from git-svnimport, the version in master can transfer deltas).

This is (or only seems to be) a UI reporting error and the actual data imported should be correct.

Previous: Florian WeimerNext: Florian Weimer
Message 2 of 6 in “git-svn: File added multiple times?”
  1. Florian WeimerDec 2, 2006
  2. Eric WongDec 2, 2006
  3. Florian WeimerDec 2, 2006
  4. Florian WeimerDec 2, 2006
  5. git-svn: avoid fetching files twice in the same revisionEric Wong, Dec 3, 2006
  6. Florian WeimerDec 3, 2006

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.