{"thread":{"id":"8445","subject":"git-svn fetch hangs or gives broken pipe on a specific \"branch\"","startedAt":"2007-06-05T16:53:04Z","lastAt":"2007-06-06T08:27:28Z","messageCount":2,"participants":["Bill Priest","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"44082","messageId":"689181.83891.qm@web55015.mail.re4.yahoo.com","threadId":"8445","inReplyTo":null,"subject":"git-svn fetch hangs or gives broken pipe on a specific \"branch\"","fromName":"Bill Priest","fromEmail":"priestwilliaml@yahoo.com","sentAt":"2007-06-05T16:53:04Z","receivedAt":"2007-06-05T16:53:04Z","isPatch":false,"sender":{"key":"priestwilliaml@yahoo.com","avatar":null},"body":"All,\n  I'm trying to use git to try out its merging\ncapabilities as I'm not \"happy\" w/ what svn provides. \nFrom Linus discussion at google (from YouTube) he\nindicated that many people use it to manage merges\nbetween branches and then push back into the\nsubversion repository.  I'd like to do this as\nconverting to git from svn (less than 6 months after\nconverting from cvs to svn isn't an easy sell to\nmanagement).\n  We have a small team (~5 developers) and a fairly\nsmall project (a few hundred files).  From a web\nsite/wiki I found the following instructions (tweaked\nfor my setup).\nI downloaded the latest release of git 1.5.2 and built\nit on RHEL box.  Subversion version is 1.4.2.  The\nrepository and the git working directory are on the\nsame machine (taking networking out of the picture).\nmkdir git_test\ncd git_test\ngit-svn init -t tags -b branches -T trunk \"my URL\"\nInitialized empty Git repository in .git/\ngit-svn fetch\nall tags were processed w/o error AFAICT; the first\nbranch it tries to work on causes either a hang or a\n\"Broken Pipe\".  I changed from an http:// to svn:// on\nthe git-svn init and everything worked correctly.\nThis would seem to indicate some type of problem w/\napache/httpd problem.  I looked in the httpd logs and\ndidn't see any errors.\n   Is this a known problem?\n\nTIA,\n\nBill\n\n\n\n       \n____________________________________________________________________________________\nGet the Yahoo! toolbar and be alerted to new email wherever you're surfing.\nhttp://new.toolbar.yahoo.com/toolbar/features/mail/index.php\n"},{"id":"44140","messageId":"20070606082728.GA16321@muzzle","threadId":"8445","inReplyTo":"689181.83891.qm@web55015.mail.re4.yahoo.com","subject":"Re: git-svn fetch hangs or gives broken pipe on a specific \"branch\"","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2007-06-06T08:27:28Z","receivedAt":"2007-06-06T08:27:28Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Bill Priest <priestwilliaml@yahoo.com> wrote:\n> I downloaded the latest release of git 1.5.2 and built\n> it on RHEL box.  Subversion version is 1.4.2.  The\n> repository and the git working directory are on the\n> same machine (taking networking out of the picture).\n> mkdir git_test\n> cd git_test\n> git-svn init -t tags -b branches -T trunk \"my URL\"\n> Initialized empty Git repository in .git/\n> git-svn fetch\n> all tags were processed w/o error AFAICT; the first\n> branch it tries to work on causes either a hang or a\n> \"Broken Pipe\".  I changed from an http:// to svn:// on\n> the git-svn init and everything worked correctly.\n> This would seem to indicate some type of problem w/\n> apache/httpd problem.  I looked in the httpd logs and\n> didn't see any errors.\n>    Is this a known problem?\n\nNo.  Is it reproducible?  In my experience, http(s):// has been much\nless problematic than svn:// repositories (because I mainly access\nhttps:// ones).\n\nAlso, are you certain the git-svn you're running is 1.5.2?  When you\nsay that it processed all tags before hitting a branch, that\nsounds like the behavior of a pre-1.5.1 git-svn.  Run git-svn --version\njust to be sure :)\n\ngit-svn 1.5.1+ fetches trunk, tags, and branches in chronological order.\nOf course, your project may have never created a branch before any of\nyour tags are created...\n\nAny details on the branch that caused it to fail would be appreciated,\nthanks.\n\n-- \nEric Wong\n"}]}