{"thread":{"id":"19767","subject":"[BUG?] fail to svn clone debian's kernel repository","startedAt":"2009-06-10T16:05:24Z","lastAt":"2010-03-04T02:03:19Z","messageCount":7,"participants":["Uwe Kleine-König","Sebastian Pipping","Nicolas Sebrecht","Thomas Rast"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"116017","messageId":"20090610160524.GA24435@pengutronix.de","threadId":"19767","inReplyTo":null,"subject":"[BUG?] fail to svn clone debian's kernel repository","fromName":"Uwe Kleine-König","fromEmail":"u.kleine-koenig@pengutronix.de","sentAt":"2009-06-10T16:05:24Z","receivedAt":"2009-06-10T16:05:24Z","isPatch":false,"sender":{"key":"u.kleine-koenig@pengutronix.de","avatar":"https://gravatar.com/avatar/354b5e3ceb2806a2f1e1e382ac29ddbdad18288654da62b61eb13583a857eee7?d=mp&s=160"},"body":"Hello,\n\nusing git v1.6.3.1 from Debian I fail to successfully run\n\n\tgit svn clone svn://svn.debian.org/kernel/dists/trunk/linux-2.6\n\nIt runs for some time and then ends in:\n\n\t...\n\tr4695 = f552d98386b301cbeaa3b5a20f9e9d5d3c9c4886 (git-svn)\n\t\tM\tdebian/arch/alpha/defines\n\tr4696 = 18c0a37de057d24955b66e8f49db0791f6018288 (git-svn)\n\tFound possible branch point: svn://svn.debian.org/kernel/dists/sid/linux-2.6 => svn://svn.debian.org/kernel/dists/trunk/linux-2.6, 4731\n\tInitializing parent: git-svn@4731\n\tW: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: File not found: revision 101, path '/dists/sid/linux-2.6'\n\tW: Do not be alarmed at the above message git-svn is just searching aggressively for old history.\n\tThis may take a while on large repositories\n\tFound possible branch point: svn://svn.debian.org/kernel/dists/sid/kernel/linux-2.6 => svn://svn.debian.org/kernel/dists/sid/linux-2.6, 4094\n\tInitializing parent: git-svn@4094\n\tFound branch parent: (git-svn@4731) e71da640593b63647fb23f915acee03f02fbaa98\n\tFollowing parent with do_switch\n\tInvalid filesystem path syntax: Cannot replace a directory from within at /usr/lib/git-core/git-svn line 4388\n\nIs someone wants to take a look, the repo is browsable at\n\n\thttp://svn.debian.org/wsvn/kernel/dists/trunk/#_dists_trunk_\n\nBest regards\nUwe\n\n-- \nPengutronix e.K.                              | Uwe Kleine-König            |\nIndustrial Linux Solutions                    | http://www.pengutronix.de/  |\n"},{"id":"116024","messageId":"20090610184256.GA11507@pengutronix.de","threadId":"19767","inReplyTo":"20090610160524.GA24435@pengutronix.de","subject":"Re: [BUG?] fail to svn clone debian's kernel repository","fromName":"Uwe Kleine-König","fromEmail":"u.kleine-koenig@pengutronix.de","sentAt":"2009-06-10T18:42:56Z","receivedAt":"2009-06-10T18:42:56Z","isPatch":false,"sender":{"key":"u.kleine-koenig@pengutronix.de","avatar":"https://gravatar.com/avatar/354b5e3ceb2806a2f1e1e382ac29ddbdad18288654da62b61eb13583a857eee7?d=mp&s=160"},"body":"Hello,\n\n> using git v1.6.3.1 from Debian I fail to successfully run\n> \n> \tgit svn clone svn://svn.debian.org/kernel/dists/trunk/linux-2.6\n> \n> It runs for some time and then ends in:\n> \n> \t...\n> \tr4695 = f552d98386b301cbeaa3b5a20f9e9d5d3c9c4886 (git-svn)\n> \t\tM\tdebian/arch/alpha/defines\n> \tr4696 = 18c0a37de057d24955b66e8f49db0791f6018288 (git-svn)\n> \tFound possible branch point: svn://svn.debian.org/kernel/dists/sid/linux-2.6 => svn://svn.debian.org/kernel/dists/trunk/linux-2.6, 4731\n> \tInitializing parent: git-svn@4731\n> \tW: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: File not found: revision 101, path '/dists/sid/linux-2.6'\n> \tW: Do not be alarmed at the above message git-svn is just searching aggressively for old history.\n> \tThis may take a while on large repositories\n> \tFound possible branch point: svn://svn.debian.org/kernel/dists/sid/kernel/linux-2.6 => svn://svn.debian.org/kernel/dists/sid/linux-2.6, 4094\n> \tInitializing parent: git-svn@4094\n> \tFound branch parent: (git-svn@4731) e71da640593b63647fb23f915acee03f02fbaa98\n> \tFollowing parent with do_switch\n> \tInvalid filesystem path syntax: Cannot replace a directory from within at /usr/lib/git-core/git-svn line 4388\nI debugged this a bit by adding a print just before line 4388.  There we\nhave:\n\n\trev_a=4090\n\trev_b=4095\n\tpath=\"\"\n\tfull_url=svn://svn.debian.org/kernel/dists/sid/kernel/linux-2.6\n\told_url=svn://svn.debian.org/kernel/dists/sid/kernel/linux-2.6\n\nMmh, these are really heavy commits it seems.  The commitlog suggests\nthat trunk was moved there, and websvn dies with ENOMEM when trying to\nshow the diff.\n\nI will try to start cloning at a later revision.\n\nBest regards\nUwe\n\n-- \nPengutronix e.K.                              | Uwe Kleine-König            |\nIndustrial Linux Solutions                    | http://www.pengutronix.de/  |\n"},{"id":"135919","messageId":"4B8B21A8.6000603@hartwork.org","threadId":"19767","inReplyTo":"20090610160524.GA24435@pengutronix.de","subject":"Re: [BUG?] fail to svn clone debian's kernel repository","fromName":"Sebastian Pipping","fromEmail":"webmaster@hartwork.org","sentAt":"2010-03-01T02:08:40Z","receivedAt":"2010-03-01T02:08:40Z","isPatch":false,"sender":{"key":"webmaster@hartwork.org","avatar":null},"body":"On 06/10/09 18:05, Uwe Kleine-König wrote:\n> Hello,\n> \n> using git v1.6.3.1 from Debian I fail to successfully run\n> \n> \tgit svn clone svn://svn.debian.org/kernel/dists/trunk/linux-2.6\n> \n> It runs for some time and then ends in:\n> \n> \t...\n> \tr4695 = f552d98386b301cbeaa3b5a20f9e9d5d3c9c4886 (git-svn)\n> \t\tM\tdebian/arch/alpha/defines\n> \tr4696 = 18c0a37de057d24955b66e8f49db0791f6018288 (git-svn)\n> \tFound possible branch point: svn://svn.debian.org/kernel/dists/sid/linux-2.6 => svn://svn.debian.org/kernel/dists/trunk/linux-2.6, 4731\n> \tInitializing parent: git-svn@4731\n> \tW: Ignoring error from SVN, path probably does not exist: (160013): Filesystem has no item: File not found: revision 101, path '/dists/sid/linux-2.6'\n> \tW: Do not be alarmed at the above message git-svn is just searching aggressively for old history.\n> \tThis may take a while on large repositories\n> \tFound possible branch point: svn://svn.debian.org/kernel/dists/sid/kernel/linux-2.6 => svn://svn.debian.org/kernel/dists/sid/linux-2.6, 4094\n> \tInitializing parent: git-svn@4094\n> \tFound branch parent: (git-svn@4731) e71da640593b63647fb23f915acee03f02fbaa98\n> \tFollowing parent with do_switch\n> \tInvalid filesystem path syntax: Cannot replace a directory from within at /usr/lib/git-core/git-svn line 4388\n\nI have run into a similar problem, both with Git 1.7.0 as well as with\nGit via Git.\n\nHas anybody been able to work around this?\nIs anybody working on a fix?\n\nThanks,\n\n\n\nSebastian\n"},{"id":"136036","messageId":"20100302195454.GB12942@vidovic","threadId":"19767","inReplyTo":"4B8B21A8.6000603@hartwork.org","subject":"[BUG?] Re: fail to svn clone debian's kernel repository","fromName":"Nicolas Sebrecht","fromEmail":"nicolas.s.dev@gmx.fr","sentAt":"2010-03-02T19:54:54Z","receivedAt":"2010-03-02T19:54:54Z","isPatch":false,"sender":{"key":"nicolas.s.dev@gmx.fr","avatar":null},"body":"The 01/03/10, Sebastian Pipping wrote:\n> On 06/10/09 18:05, Uwe Kleine-König wrote:\n> > Hello,\n> > \n> > using git v1.6.3.1 from Debian I fail to successfully run\n> > \n> > \tgit svn clone svn://svn.debian.org/kernel/dists/trunk/linux-2.6\n> > \n> > It runs for some time and then ends in:\n> > \n> > \t...\n> > \tr4695 = f552d98386b301cbeaa3b5a20f9e9d5d3c9c4886 (git-svn)\n> > \t\tM\tdebian/arch/alpha/defines\n> > \tr4696 = 18c0a37de057d24955b66e8f49db0791f6018288 (git-svn)\n\n<...>\n\n> > \tInvalid filesystem path syntax: Cannot replace a directory from within at /usr/lib/git-core/git-svn line 4388\n> \n> I have run into a similar problem, both with Git 1.7.0 as well as with\n> Git via Git.\n> \n> Has anybody been able to work around this?\n> Is anybody working on a fix?\n\nI've stopped cloning at r10252 with current next version. I didn't\nnotice any problem.\n\nDoes the tests pass for you ?\n\n  $ cd t\n  $ make\n\n-- \nNicolas Sebrecht\n"},{"id":"136053","messageId":"4B8DB940.9020609@hartwork.org","threadId":"19767","inReplyTo":"20100302195454.GB12942@vidovic","subject":"Re: [BUG?] Re: fail to svn clone debian's kernel repository","fromName":"Sebastian Pipping","fromEmail":"webmaster@hartwork.org","sentAt":"2010-03-03T01:20:00Z","receivedAt":"2010-03-03T01:20:00Z","isPatch":false,"sender":{"key":"webmaster@hartwork.org","avatar":null},"body":"On 03/02/10 20:54, Nicolas Sebrecht wrote:\n> I've stopped cloning at r10252 with current next version. I didn't\n> notice any problem.\n\nI've been working with another repository.\n\nMy case is reproducable as following:\n=======================================================\nABS_SVN_SOURCE=\"$PWD/portage-anon-svn-repo-dump/\"\nrsync -r rsync://anonvcs.gentoo.org/vcs-public-svnroot/portage/ \\\n  \"${ABS_SVN_SOURCE}\"\nmkdir portage-git\ncd portage-git\ngit svn init file://\"${ABS_SVN_SOURCE}\" \\\n  --trunk=trunk --tags=NOTAGS --branches=NOBRANCHES\ngit svn fetch -r1:1890\ngit config --remove-section 'svn-remote.svn'\ngit svn init file://\"${ABS_SVN_SOURCE}\" \\\n  --trunk=main/trunk --tags=main/tags --branches=main/branches\ngit svn fetch -r1891:HEAD\n=======================================================\n\nThe last command the fails with:\n=======================================================\nFound possible branch point:\nfile:///home/sping/__playground/portage-git-playground/portage-anon-svn-repo-dump/main/trunk\n=>\nfile:///home/sping/__playground/portage-git-playground/portage-anon-svn-repo-dump/main/branches/savior,\n1890\nFound branch parent: (refs/remotes/savior)\n3d100e8bd4e84f2779af6217cf60ebd168647733\nFollowing parent with do_switch\nInvalid filesystem path syntax: Cannot replace a directory from within\nat /usr/libexec/git-core/git-svn line 5089\n=======================================================\n\n# git --version\ngit version 1.7.0.1.61.gdc05d.dirty\n\n\n> Does the tests pass for you ?\n> \n>   $ cd t\n>   $ make\n\nmaster\n  fixed   1\n  success 5657\n  failed  0\n  broken  16\n  total   5674\n\nnext\n  fixed   1\n  success 5732\n  failed  0\n  broken  16\n  total   5758\n\n# git branch -v\n  branch-master dc05d73 Merge branch 'maint'\n* master        dc05d73 Merge branch 'maint'\n  next          6604fd0 Merge branch 'jn/makedepend' into next\n\n\n\nSebastian\n"},{"id":"136078","messageId":"201003031533.13056.trast@student.ethz.ch","threadId":"19767","inReplyTo":"4B8DB940.9020609@hartwork.org","subject":"Re: [BUG?] Re: fail to svn clone debian's kernel repository","fromName":"Thomas Rast","fromEmail":"trast@student.ethz.ch","sentAt":"2010-03-03T14:33:12Z","receivedAt":"2010-03-03T14:33:12Z","isPatch":false,"sender":{"key":"tr@thomasrast.ch","avatar":"https://avatars.githubusercontent.com/u/153510?v=4"},"body":"On Wednesday 03 March 2010 02:20:00 Sebastian Pipping wrote:\n> git svn init file://\"${ABS_SVN_SOURCE}\" \\\n>   --trunk=trunk --tags=NOTAGS --branches=NOBRANCHES\n> git svn fetch -r1:1890\n> git config --remove-section 'svn-remote.svn'\n> git svn init file://\"${ABS_SVN_SOURCE}\" \\\n>   --trunk=main/trunk --tags=main/tags --branches=main/branches\n> git svn fetch -r1891:HEAD\n[...]\n> Invalid filesystem path syntax: Cannot replace a directory from within\n> at /usr/libexec/git-core/git-svn line 5089\n\nWhile arguably[*] a bug, you can work around it by simply not removing\nthe previous trunk from git-svn's 'fetch' lines.  I.e., the following\nconfig works for me after r1890:\n\n[svn-remote \"svn\"]\n\turl = file:///.../portage-anon-svn-repo-dump\n\tfetch = main/trunk:refs/remotes/trunk2\n\tbranches = main/branches/*:refs/remotes/branches/*\n\ttags = main/tags/*:refs/remotes/tags/*\n\tfetch = trunk:refs/remotes/trunk\n\nYou can later use update-ref (or even just mv) to rename trunk2 to\ntrunk.\n\nYou may also want to place the cutoff in the above commands at\n1889/1890 instead, since r1890 is the one that does the move.\nCombining this fix with the above config results in correct\n\"continuous\" history of trunk, whereas merely using the config above\nresults in a disconnect at the move.\n\n\n[*] SVN also fails if you check out trunk@1889 and attempt to 'svn update' it\n\n-- \nThomas Rast\ntrast@{inf,student}.ethz.ch\n"},{"id":"136119","messageId":"4B8F14E7.5050000@hartwork.org","threadId":"19767","inReplyTo":"201003031533.13056.trast@student.ethz.ch","subject":"Re: [BUG?] Re: fail to svn clone debian's kernel repository","fromName":"Sebastian Pipping","fromEmail":"webmaster@hartwork.org","sentAt":"2010-03-04T02:03:19Z","receivedAt":"2010-03-04T02:03:19Z","isPatch":false,"sender":{"key":"webmaster@hartwork.org","avatar":null},"body":"On 03/03/10 15:33, Thomas Rast wrote:\n> Combining this fix with the above config results in correct\n> \"continuous\" history of trunk, whereas merely using the config above\n> results in a disconnect at the move.\n\nThanks for your time to look into that!\n\nAfter applying your ideas (which seem to work well) I end up with:\n==================================================================\ngit svn init file://\"${ABS_SVN_SOURCE}\"\ngit config svn-remote.svn.fetch 'trunk:refs/remotes/trunk@1889'\ngit svn fetch -r1:1889\ngit svn init file://\"${ABS_SVN_SOURCE}\" \\\n  --trunk=main/trunk\ngit config svn-remote.svn.tags 'main/tags/*:refs/tags/*'\ngit config svn-remote.svn.branches 'main/branches/*:refs/heads/*'\ngit svn fetch -r1890:HEAD\n==================================================================\n\n.git/config holds:\n==================================================================\n[..]\n[svn-remote \"svn\"]\n        url = file:///[..]/portage-anon-svn-repo-dump\n        fetch = trunk:refs/remotes/trunk@1889\n        fetch = main/trunk:refs/remotes/trunk\n        tags = main/tags/*:refs/tags/*\n        branches = main/branches/*:refs/heads/*\n==================================================================\n\nThought I'd paste that if anybody else is interested.\n\n\n\nSebastian\n"}]}