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

git-svn breaks svn when adding .svn

From
NSNico -telmich- Schottelius <nico-git-svn-20080616@schottelius.org>
Date
Jun 16, 2008, 12:21 UTC
Message-ID
<20080616122117.GA14292@denkbrett.schottelius.org>
In-Reply-To
<7v1w38l0el.fsf@gitster.siamese.dyndns.org>
Hello dear git list!

The following information was submitted to me by Frederik and is forwarded to the list, because he's no mail access right now:

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Using "git-svn dcommit", files or folders named ".svn" can be committed to the Subversion repository.
This breaks the SVN repo - e.g. "svn update" results in the following error:
    svn: Failed to add directory '.svn': object of the same name already exists
Ideally, the SVN server would reject such a commit.
However, if I interpret the following issues correctly, Subversion doesn't want to handle this server-side:
    http://subversion.tigris.org/issues/show_bug.cgi?id=1068
    (also: http://subversion.tigris.org/issues/show_bug.cgi?id=1065)

Since this is potentially a very critical issue, I suggest git-svn dcommit check and filter for such occurrences. Alternatively, a prominent warning could be added to the relevant git-svn commands.

Details:
    git version 1.5.4.3
    svn version 1.4.6 (r28521)
    Plattform: Ubuntu 8.04 Hardy Heron
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
Sincerly
Nico
PS: Please CC him and me on reply.
-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C
Previous: Ask Bjørn HansenNext: Frederik Dohr
Message 9 of 10 in “How to compare different files in different branches”
  1. Nico -telmich- SchotteliusJun 6, 2008
  2. Jonathan del StrotherJun 6, 2008
  3. Jakub NarebskiJun 6, 2008
  4. Jakub NarebskiJun 6, 2008
  5. Teemu LikonenJun 6, 2008
  6. Nico -telmich- SchotteliusJun 8, 2008
  7. Junio C HamanoJun 8, 2008
  8. Ask Bjørn HansenJun 15, 2008
  9. git-svn breaks svn when adding .svnNico -telmich- Schottelius, Jun 16, 2008
  10. Frederik DohrJun 16, 2008

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.