{"thread":{"id":"23612","subject":"odd \"error: packfile foo.pack cannot be accessed\" errors from \"git svn fetch\"","startedAt":"2010-04-26T22:06:56Z","lastAt":"2010-04-27T20:22:26Z","messageCount":2,"participants":["Greg A. Woods"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"140456","messageId":"m1O6WSB-000kn6C@most.weird.com","threadId":"23612","inReplyTo":null,"subject":"odd \"error: packfile foo.pack cannot be accessed\" errors from \"git svn fetch\"","fromName":"Greg A. Woods","fromEmail":"woods@planix.com","sentAt":"2010-04-26T22:06:56Z","receivedAt":"2010-04-26T22:06:56Z","isPatch":false,"sender":{"key":"woods@planix.com","avatar":null},"body":"I've been trying to import the FreeBSD SVN repository (which I have\ncopied to a local directory using \"svnsync\").  It seems to be going\nfairly well, though I've had to interrupt and restart the \"git svn fetch\n--all\" command a couple of times due to necessary reboots.\n\nHowever I noticed errors similar to the following today as it was\nrunning, particularly between these revision lines:\n\nr158178 = dfd866111e2d8b27056d445ce1109ca3301f7dda (refs/remotes/svn/stable/6)\n\tA\tusr.bin/lastcomm/lastcomm.c\n\tA\tusr.bin/lastcomm/pathnames.h\n[[....]]\nerror: packfile ./objects/pack/pack-a65415929f8bae9dacf4e81a3d9201135915c984.pack cannot be accessed\n[[....]]\n\tA\tsys/sys/msg.h\n\tA\tsys/sys/socket.h\nr158179 = db56f27606a021514e1f8ec483ce6b7abd4d6966 (refs/remotes/svn/releng/6.1)\n\n(this is from git version 1.7.0.6, running on Mac OS X 10.6.3 with all\nfiles on an HFS+ case-sensitive journaled filesystem)\n\nSeveral such lines were printed, all while adding the same revision,\nwith several different pack files mentioned.\n\nWas it my mistake to interrupt the fetch?  (I assumed interrupts would\nbe cleanly handled -- they really should be, nay must be if git-svn is\nto be robust enough for real-world uses!  I don't do perl, though I had\na peek and did see at least some mention of SIGINT....)\n\nIs there any way to check the integrity of the result other than by\nmanually checking out various releases from each SVN and Git and\ncomparing them?\n\nI could start it over again in a hopefully more stable environment if\nreally necessary, but it's already run for over two days now, and\nalready this isn't my first attempt (getting the branches config close\nto correct has been far more difficult than it should ever have been --\nthis info is already in SVN!  hopefully the GSoC native SVN support will\nhelp in this regard too!)\n\n-- \n\t\t\t\t\t\tGreg A. Woods\n\t\t\t\t\t\tPlanix, Inc.\n\n<woods@planix.com>       +1 416 218 0099        http://www.planix.com/\n"},{"id":"140540","messageId":"m1O6rId-000kn7C@most.weird.com","threadId":"23612","inReplyTo":"m1O6WSB-000kn6C@most.weird.com","subject":"Re: odd \"error: packfile foo.pack cannot be accessed\" errors from \"git svn fetch\"","fromName":"Greg A. Woods","fromEmail":"woods@planix.com","sentAt":"2010-04-27T20:22:26Z","receivedAt":"2010-04-27T20:22:26Z","isPatch":false,"sender":{"key":"woods@planix.com","avatar":null},"body":"At Mon, 26 Apr 2010 18:06:56 -0400, \"Greg A. Woods\" <woods@planix.com> wrote:\nSubject: odd \"error: packfile foo.pack cannot be accessed\" errors from \"git svn fetch\"\n> \n> However I noticed errors similar to the following today as it was\n> running, particularly between these revision lines:\n> \n> r158178 = dfd866111e2d8b27056d445ce1109ca3301f7dda (refs/remotes/svn/stable/6)\n> \tA\tusr.bin/lastcomm/lastcomm.c\n> \tA\tusr.bin/lastcomm/pathnames.h\n> [[....]]\n> error: packfile ./objects/pack/pack-a65415929f8bae9dacf4e81a3d9201135915c984.pack cannot be accessed\n> [[....]]\n> \tA\tsys/sys/msg.h\n> \tA\tsys/sys/socket.h\n> r158179 = db56f27606a021514e1f8ec483ce6b7abd4d6966 (refs/remotes/svn/releng/6.1)\n> \n> (this is from git version 1.7.0.6, running on Mac OS X 10.6.3 with all\n> files on an HFS+ case-sensitive journaled filesystem)\n\nI'm also seeing quite a few of these today:\n\nCouldn't find revmap for file:///work/woods/m-FreeBSD-svn/head/sys/dev/ath/ath_hal\nCouldn't find revmap for file:///work/woods/m-FreeBSD-svn/head/sys/dev/ath/ath_hal\nCouldn't find revmap for file:///work/woods/m-FreeBSD-svn/head/sys/dev/cxgb\nCouldn't find revmap for file:///work/woods/m-FreeBSD-svn/head/sys/contrib/pf\nCouldn't find revmap for file:///work/woods/m-FreeBSD-svn/head/sys\nr186976 = 5500451e51e73932ec27b670e136d000bf5641fe (refs/remotes/svn/stable/7)\n\nFrom the wording that looks more like a problem in the SVN repository,\nbut I don't know much about SVN so I can't say for sure....\n\n-- \n\t\t\t\t\t\tGreg A. Woods\n\t\t\t\t\t\tPlanix, Inc.\n\n<woods@planix.com>       +1 416 218 0099        http://www.planix.com/\n"}]}