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

git svn should refuse to checkin .svn directories

From
TKThomas Koch <thomas@koch.ro>
Date
Apr 18, 2008, 11:46 UTC
Message-ID
<200804181346.50755.thomas@koch.ro>

As you might guess I just annoyed my collegues by (temporarily) destroying our svn repo. Nobody could checkout anymore, because I accidently checked in a .svn directory with git svn.

I'm lucky that I'm still allowed to use git svn to work on our svn repo...

Maybe you could add a warning or something else to avoid .svn directories to be ever checked in via git svn.

I'm sure that there is also a config option somewhere to get .svn directories ignored (also subdirs when adding the parent dir?). But this check should really be a default setting to avoid other newcommers to get into trouble because they gave git svn a try.

Cheers,
-- 
Thomas Koch, Software Developer
http://www.koch.ro
Next: JM Ibanez
Message 1 of 3 in “git svn should refuse to checkin .svn directories”
  1. Thomas KochApr 18, 2008
  2. JM IbanezApr 18, 2008
  3. Jānis RūcisApr 19, 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.