{"thread":{"id":"20800","subject":"Question about git-svn","startedAt":"2009-08-31T13:01:20Z","lastAt":"2009-09-15T11:49:16Z","messageCount":3,"participants":["martin liste larsson","Eric Wong","Martin Larsson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"122185","messageId":"b4abed330908310601h197f8909h8f626e918f8e5090@mail.gmail.com","threadId":"20800","inReplyTo":null,"subject":"Question about git-svn","fromName":"martin liste larsson","fromEmail":"martin.liste.larsson@gmail.com","sentAt":"2009-08-31T13:01:20Z","receivedAt":"2009-08-31T13:01:20Z","isPatch":false,"sender":{"key":"martin.liste.larsson@gmail.com","avatar":null},"body":"I have a problem using git-svn. Is this the right place to ask then?\n\nI have followed Andy Delcambre's\nhttp://herebeforeatreplies.com/2008/03/04/git-svn-workflow.html, but\nit seems that not all my tags and branches are being imported from svn\nto (local) git. That is, 'git branch -a' gives much less output (about\nhalf) of the combination 'svn list http://repos/branches' and 'svn\nlist http://repos/tags'. What's missing seems to be the newest\nbranches and tags.\n\nM.\n"},{"id":"122479","messageId":"20090905060940.GB22272@dcvr.yhbt.net","threadId":"20800","inReplyTo":"b4abed330908310601h197f8909h8f626e918f8e5090@mail.gmail.com","subject":"Re: Question about git-svn","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-09-05T06:09:40Z","receivedAt":"2009-09-05T06:09:40Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"martin liste larsson <martin.liste.larsson@gmail.com> wrote:\n> I have a problem using git-svn. Is this the right place to ask then?\n\nHi, Yes, feel free to Cc me directly as well.\n\n> I have followed Andy Delcambre's\n> http://herebeforeatreplies.com/2008/03/04/git-svn-workflow.html, but\n> it seems that not all my tags and branches are being imported from svn\n> to (local) git. That is, 'git branch -a' gives much less output (about\n> half) of the combination 'svn list http://repos/branches' and 'svn\n> list http://repos/tags'.\n\nAre there branches/tags in subdirectories?\n\nAs in, do you have stuff in http://repos/branches/foo/* as well\nas just http://repos/branches/* ?\n\nYou'll need git 1.6.4 to handle that with multiple branches entries:\n\nbefore:\n\n\t[svn-remote \"svn\"]\n\t\tbranches = project/branches/*:refs/remotes/*\n\nafter:\n\t[svn-remote \"svn\"]\n\t\tbranches = project/branches/*:refs/remotes/*\n\t\tbranches = project/branches/foo/*: refs/remotes/foo/*\n\n> What's missing seems to be the newest\n> branches and tags.\n\nJust checking the obvious, you are running \"git svn fetch\", right?\n\n-- \nEric Wong\n"},{"id":"123225","messageId":"1253015356.6509.52.camel@martin","threadId":"20800","inReplyTo":"20090905060940.GB22272@dcvr.yhbt.net","subject":"Re: Question about git-svn","fromName":"Martin Larsson","fromEmail":"martin.liste.larsson@gmail.com","sentAt":"2009-09-15T11:49:16Z","receivedAt":"2009-09-15T11:49:16Z","isPatch":false,"sender":{"key":"martin.liste.larsson@gmail.com","avatar":null},"body":"On Fri, 2009-09-04 at 23:09 -0700, Eric Wong wrote:\n> martin liste larsson <martin.liste.larsson@gmail.com> wrote:\n> > I have a problem using git-svn. Is this the right place to ask then?\n> \n> Hi, Yes, feel free to Cc me directly as well.\n\nSorry for the long delay, your answer seemed to get lost in the\nflood... :*)\n\n\n> Just checking the obvious, you are running \"git svn fetch\", right?\n\nIt seemed the download terminated, for some reason. Running \"git svn\nfetch\" again allowed it to continue. After a couple of days and\nattempts, everything got downloaded. But it would be helpful if git told\nme it had failed. As it was now, the end of a failed run looked like\nthis (a random selection):\n...\nr495 = da7253aa4d2af7d3349b36d917573e948ccd2828 (tags/DelfiRaadgiver-2.6.0-b9@1352)\n        A       Kildekode/Script.deploy/deploy_all_webapps_utv.cmd\nr496 = 28e21ba0098d7f7ae74f134af42fe8dc92718f56 (tags/DelfiRaadgiver-2.6.0-b9@1352)\n        M       Kildekode/Database/data/kundespesifikk/fanasb/data_dr_aktivaklasser.sql\nr497 = 58543e617e27bb7960e0b64ab2419edd90b5c56e (tags/DelfiRaadgiver-2.6.0-b9@1352)\n        M       Kildekode/Moduler/DRBasis/src/java/no/delfidata/raad2/jdbo/func/RaadJDBOOpsImpl.java\nr498 = e882fe24795addf8cecdeea9dcb82f1a49697e40 (tags/DelfiRaadgiver-2.6.0-b9@1352)\n        M       Kildekode/Database/data/kundespesifikk/fanasb/data_ds_user.sql\nr499 = e8f6b1350d2d6fcd7fe786f1aa4837e1f61cf8b3 (tags/DelfiRaadgiver-2.6.0-b9@1352)\n        M       Kildekode/Database/dokumentasjon/raad_db_1_1.PDM\nr500 = cd273927d38ed673c2ec895f641f322dc8818f9a (tags/DelfiRaadgiver-2.6.0-b9@1352)\nAuto packing your repository for optimum performance. You may also\nrun \"git gc\" manually. See \"git help gc\" for more information.\nCounting objects: 36, done.\nCompressing objects: 100% (34/34), done.\nWriting objects: 100% (36/36), done.\nTotal 36 (delta 10), reused 0 (delta 0)\nRemoving duplicate objects: 100% (256/256), done.\n        M       Kildekode/Database/data/kundespesifikk/handelsbanken/data_ds_user.sql\nr501 = 27fc97c162b9cf440ce8a5f6e8dea10354324309 (tags/DelfiRaadgiver-2.6.0-b9@1352)\n        M       Kildekode/Database/data/kundespesifikk/sbm/data_dr_aktivaklasser.sql\nr502 = 19d5cf2da05f7b92cb134c6ae83f6ffc5f3cde08 (tags/DelfiRaadgiver-2.6.0-b9@1352)\n        M       Kildekode/Database/data/kundespesifikk/sbsoer/data_dr_aktivaklasser.sql\n        M       Kildekode/Database/data/kundespesifikk/sbsoer/data_dr_aktivaklasser.xls\nr503 = f73d7bb66e7bfe6a05647da371be477bf43d36e5 (tags/DelfiRaadgiver-2.6.0-b9@1352)\n        A       Kildekode/Database/data/kundespesifikk/sdc/data_ds_user.sql\nr504 = 8fdf43287207b4029679e4e86c405eabd2be6596 (tags/DelfiRaadgiver-2.6.0-b9@1352)\n        A       Kildekode/Script.deploy/build_all_webapps_utv.xml\n        M       Kildekode/Script.deploy/deploy_all_webapps_utv.cmd\nr505 = d7a31939c0aed653540b471c8f5e464870fca5b1 (tags/DelfiRaadgiver-2.6.0-b9@1352)\n        M       Kildekode/Script.deploy/build_all_webapps_utv.xml\nr506 = 4ff67d714dedeed065c359376b7d055d67a4c02b (tags/DelfiRaadgiver-2.6.0-b9@1352)\nmartin@martin:~/Arbeid/git-rpm$ \n\nThere's no real indication that this failed. But \"git branch -a\" doesn't\nlist 'master'.\n\nHowever, as I said, repeating \"git svn fetch\" until very tired, made it\nfinally work...\n\nM.\n"}]}