git-svn breaks svn when adding .svn
- From
- Nico -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 existsIdeally, 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