{"thread":{"id":"15495","subject":"git-svn: file not found in commit","startedAt":"2008-09-12T02:48:06Z","lastAt":"2008-09-12T02:48:06Z","messageCount":1,"participants":["mriou"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"90511","messageId":"19448485.post@talk.nabble.com","threadId":"15495","inReplyTo":null,"subject":"git-svn: file not found in commit","fromName":"mriou","fromEmail":"matthieu.riou@gmail.com","sentAt":"2008-09-12T02:48:06Z","receivedAt":"2008-09-12T02:48:06Z","isPatch":false,"sender":{"key":"matthieu.riou@gmail.com","avatar":null},"body":"\nHi,\n\nI'm trying to import with git-svn an Apache repository located at:\n\nhttp://svn.eu.apache.org/repos/asf/ode\n\nDoing so, at some point git-svn seems to get lost when identifying a parent:\n\nr563284 = 1e889810d5344e1222077f4026b028a922826d45 (trunk)\nFound possible branch point:\nhttps://svn.eu.apache.org/repos/asf/ode/trunk/tasks =>\nhttps://svn.eu.apache.org/repos/asf/ode/branches/bart, 563283\nInitializing parent: bart@563283\nW: Ignoring error from SVN, path probably does not exist: (175007): HTTP\nPath Not Found: '/repos/asf/!svn/bc/10001/ode/trunk/tasks' path not found\nW: Do not be alarmed at the above message git-svn is just searching\naggressively for old history.\nThis may take a while on large repositories\nbranch_from: /incubator/ode => /incubator/ode/trunk/tasks\nFound possible branch point:\nhttps://svn.eu.apache.org/repos/asf/incubator/ode/trunk/tasks =>\nhttps://svn.eu.apache.org/repos/asf/ode/trunk/tasks, 560672\nInitializing parent: bart@560672\nFound branch parent: (bart@563283) 69e8e3436d6572333b81a2c12cb6d3db8d4780a7\nFollowing parent with do_switch\nSuccessfully followed parent\nr560673 = 7bf3908aca6fccf484f7dd806e57292400600f70 (bart@563283)\n        D       hibernate.rake\n        D       cobertura.rake\n        D       jdepend.rake\njbi.rake was not found in commit 7bf3908aca6fccf484f7dd806e57292400600f70\n(r560673)\n\nThe error message is correct, that revision didn't contain this file, it's\nbeen added much later. So the parent identification seems to be getting it\nwrong. And I have to agree the logs are confusing around that revision:\n\n$ svn log -r 563283:563286 --verbose https://svn.apache.org/repos/asf/\n------------------------------------------------------------------------\nr563283 | mszefler | 2007-08-07 00:19:24 +0300 (Tue, 07 Aug 2007) | 2 lines\nChanged paths:\n  D /ode/branches/bart\n\nRemove.\n------------------------------------------------------------------------\nr563284 | mszefler | 2007-08-07 00:19:32 +0300 (Tue, 07 Aug 2007) | 2 lines\nChanged paths:\n  A /ode/branches/bart (from /ode/trunk/tasks:563283)\n  D /ode/trunk/tasks\n\nMoved.\n------------------------------------------------------------------------\nr563285 | mszefler | 2007-08-07 00:20:11 +0300 (Tue, 07 Aug 2007) | 2 lines\nChanged paths:\n  A /ode/trunk/tasks (from /ode/branches/bart:563284)\n\ncopyied back.\n------------------------------------------------------------------------\nr563286 | mszefler | 2007-08-07 00:21:57 +0300 (Tue, 07 Aug 2007) | 2 lines\nChanged paths:\n  A /ode/branches/bart/tasks (from /ode/trunk/tasks:563285)\n\ncopied.\n------------------------------------------------------------------------\n\nSo my questions are the following:\n - is there a way I can help git svn finding the correct ancestor?\n - is there a way I can ask git svn to ignore ancestors only when it fails?\n\nIf the answer is no in both cases, maybe I could add a switch to ignore\nthose errors?\n\nThanks,\nMatthieu\n-- \nView this message in context: http://www.nabble.com/git-svn%3A-file-not-found-in-commit-tp19448485p19448485.html\nSent from the git mailing list archive at Nabble.com.\n"}]}