Please don't drop Cc:, re-adding git@vger and Christian Jacob Godserv <jacobgods...@gmail.com> wrote: > > Christian (Cc-ed) also noticed the problem a few weeks ago > > and took a more drastic approach by having git-svn die > > instead of warning: > > http://mid.gmane.org/1462604323-18545-1-git-send-email-chrisc...@tuxfamily.org > > which landed as commit 523a33ca17c76bee007d7394fb3930266c577c02 > > in git.git: https://bogomips.org/mirrors/git.git/patch?id=523a33ca17c7 > > > > Is dying here too drastic and maybe warn is preferable? > > In my opinion this is too drastic. It keeps me from storing > git-specific data on a git-svn mirror.
I tend to agree, but will wait to see what Christian thinks. > Here's my setup: > - My git-svn mirror uses git-svn to create a git repo that mirrors > svn history. This repository is then pushed to a clean bare > repository. So far so good. Only svn-sourced branches exist. > - The git-svn mirror script also saves a copy of the git-svn > configuration used to generate the git mirror repository in an > "orphaned" branch called something like 'git-svn-conf'. This is > completely separate from the svn history, and exists only for my > git-svn purposes. > - On the "client" side, another script I wrote knows how to parse the > git-svn configuration in that 'git-svn-conf' branch to properly > reconfigure git-svn on the local machine, so I can use 'git svn' > themselves to commit, etc., and still generate the same hashes so > there's no forked history during the next mirror fetch. > > Long story short: I have branches which aren't in SVN history for > automated git-svn purposes. > > It appears that simply skipping the branch in that loop fixes the > issue. However, I don't know how the metadata is stored and what > exactly that loop does, so I may be creating hidden side effects I > have been lucky enough to not trigger yet. -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html