{"thread":{"id":"20199","subject":"git-svn and --bare repositories","startedAt":"2009-07-22T20:48:12Z","lastAt":"2009-07-23T08:07:12Z","messageCount":2,"participants":["Aaron Gray","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"118483","messageId":"F624E89E52304371B3CCFB737F9324DD@HPLAPTOP","threadId":"20199","inReplyTo":null,"subject":"git-svn and --bare repositories","fromName":"Aaron Gray","fromEmail":"aaronngray.lists@googlemail.com","sentAt":"2009-07-22T20:48:12Z","receivedAt":"2009-07-22T20:48:12Z","isPatch":false,"sender":{"key":"aaronngray.lists@googlemail.com","avatar":null},"body":"How do I do a git svn fetch to a bare test.git repository created with :-\n\n    git --git-dir test.git --bare init --shared=true\n\nI have tried :-\n\n   git --git-dir test.git svn fetch http://test.org/git/test\n\nand\n\n   git --git-dir test.git/svn svn fetch http://test.org/git/test     /// \nfictious address :)\n\nbut neither work.\n\nAs you may guess I am not really sure what I am doing here.\n\nMany thanks in advance,\n\nAaron\n"},{"id":"118566","messageId":"20090723080712.GA32287@dcvr.yhbt.net","threadId":"20199","inReplyTo":"F624E89E52304371B3CCFB737F9324DD@HPLAPTOP","subject":"Re: git-svn and --bare repositories","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-07-23T08:07:12Z","receivedAt":"2009-07-23T08:07:12Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Aaron Gray <aaronngray.lists@googlemail.com> wrote:\n> How do I do a git svn fetch to a bare test.git repository created with :-\n>\n>    git --git-dir test.git --bare init --shared=true\n>\n> I have tried :-\n>\n>   git --git-dir test.git svn fetch http://test.org/git/test\n>\n> and\n>\n>   git --git-dir test.git/svn svn fetch http://test.org/git/test     ///  \n> fictious address :)\n\nHi Aaron,\n\nYou need to do \"git svn init $URL\" from \"git svn fetch\" (the latter\ndoes not take URL arguments)\n\n   git --git-dir test.git --bare init --shared=true\n\n   git --git-dir test.git svn init $options $URL\n\n   git --git-dir test.git svn fetch\n\nI haven't used bare repositories much with git svn, but apparently\nit still works fine.\n\nOn a side note, \"--git-dir $foo\" really clutters up the command-line for\nme, I guess I'm old-fashioned and prefer using the GIT_DIR environment\nvariable.\n\n-- \nEric Wong\n"}]}