{"thread":{"id":"18600","subject":"Fork of abandoned SVN mirror - how to keep up to date with the SVN","startedAt":"2009-03-28T13:11:33Z","lastAt":"2009-03-29T22:16:42Z","messageCount":22,"participants":["jamespetts","Jacob Helwig","Sverre Rabbelier","Eric Wong"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"109706","messageId":"22756729.post@talk.nabble.com","threadId":"18600","inReplyTo":null,"subject":"Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"jamespetts","fromEmail":"jamespetts@yahoo.com","sentAt":"2009-03-28T13:11:33Z","receivedAt":"2009-03-28T13:11:33Z","isPatch":false,"sender":{"key":"jamespetts@yahoo.com","avatar":"https://gravatar.com/avatar/10eb3f36b410bda3afa8ef093f56b4ebff381f4184ac8653faf882332975ed22?d=mp&s=160"},"body":"\nFor some months, I have been working on a \nhttp://github.com/jamespetts/simutrans-experimental/tree fork  of the\npopular open source transport simulation game,  http://www.simutrans.com\nSimutrans . Simutrans uses SVN as its official VCS, but I have been using\nGit, by forking an  http://github.com/aburch/simutrans/tree/master\nunofficial mirror  of the Simutrans SVN on Github. That has made it\nextremely easy for me to merge in updates to the trunk code whilst\ncontinuing to work on my branch. \n\nHowever, last week, the unofficial mirror on Github suddenly stopped\ntracking the updates on the SVN. I have sent a message to the person who\nadministers it, but he has not been around for a long time, and I fear that\nhe probably will not reply - he did not reply to a message that I sent him\nsome time ago. I do not really know what to do now to keep my branch\nsynchronised. I have tried creating my own mirror of the SVN on Github, but\nthere are two problems: (1) I cannot for the life of me get the creation of\nthe mirror to work - it gets stuck permanently at \"fetching authors\"; and\n(2) even if I did succeed in creating a mirror, it would no longer be the\nsame as the branch from which I forked, so Git would not be able to keep a\ntrack of which parts of the code I intend to keep different from the trunk,\nand which are the new updates to the trunk that I want to incorporate in my\nbranch. \n\nWhat is the best way of dealing with this mess to try to re-instate an easy\nand reliable system of taking updates from the SVN and merging them into my\nbranched code?\n-- \nView this message in context: http://www.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp22756729p22756729.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"109717","messageId":"8c9a060903280922r6514de83mea4dea84c4116225@mail.gmail.com","threadId":"18600","inReplyTo":"22756729.post@talk.nabble.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"Jacob Helwig","fromEmail":"jacob.helwig@gmail.com","sentAt":"2009-03-28T16:22:22Z","receivedAt":"2009-03-28T16:22:22Z","isPatch":false,"sender":{"key":"jacob.helwig@gmail.com","avatar":"https://avatars.githubusercontent.com/u/14557?v=4"},"body":"I just tried cloning this repo using the command below, and it appears\nto be working just fine. (Hasn't finished, yet.  Up to rev 465.)  What\nis the full command you're using when it will hang?\n\ngit svn clone -s --username=anon --prefix=svn/ \\\n    svn://tron.homeunix.org/simutrans/simutrans\n\nOn Sat, Mar 28, 2009 at 06:11, jamespetts <jamespetts@yahoo.com> wrote:\n>\n> For some months, I have been working on a\n> http://github.com/jamespetts/simutrans-experimental/tree fork  of the\n> popular open source transport simulation game,  http://www.simutrans.com\n> Simutrans . Simutrans uses SVN as its official VCS, but I have been using\n> Git, by forking an  http://github.com/aburch/simutrans/tree/master\n> unofficial mirror  of the Simutrans SVN on Github. That has made it\n> extremely easy for me to merge in updates to the trunk code whilst\n> continuing to work on my branch.\n>\n> However, last week, the unofficial mirror on Github suddenly stopped\n> tracking the updates on the SVN. I have sent a message to the person who\n> administers it, but he has not been around for a long time, and I fear that\n> he probably will not reply - he did not reply to a message that I sent him\n> some time ago. I do not really know what to do now to keep my branch\n> synchronised. I have tried creating my own mirror of the SVN on Github, but\n> there are two problems: (1) I cannot for the life of me get the creation of\n> the mirror to work - it gets stuck permanently at \"fetching authors\"; and\n> (2) even if I did succeed in creating a mirror, it would no longer be the\n> same as the branch from which I forked, so Git would not be able to keep a\n> track of which parts of the code I intend to keep different from the trunk,\n> and which are the new updates to the trunk that I want to incorporate in my\n> branch.\n>\n> What is the best way of dealing with this mess to try to re-instate an easy\n> and reliable system of taking updates from the SVN and merging them into my\n> branched code?\n> --\n> View this message in context: http://www.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp22756729p22756729.html\n> Sent from the git mailing list archive at Nabble.com.\n>\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n"},{"id":"109720","messageId":"1238258794470-2549665.post@n2.nabble.com","threadId":"18600","inReplyTo":"8c9a060903280922r6514de83mea4dea84c4116225@mail.gmail.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"jamespetts","fromEmail":"jamespetts@yahoo.com","sentAt":"2009-03-28T16:46:34Z","receivedAt":"2009-03-28T16:46:34Z","isPatch":false,"sender":{"key":"jamespetts@yahoo.com","avatar":"https://gravatar.com/avatar/10eb3f36b410bda3afa8ef093f56b4ebff381f4184ac8653faf882332975ed22?d=mp&s=160"},"body":"\n\n\nI just tried cloning this repo using the command below, and it appears\nto be working just fine. (Hasn't finished, yet.  Up to rev 465.)  What\nis the full command you're using when it will hang?\n\nI was not using the command line - I was using the GUI on the Github website.\n-- \nView this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2549665.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"109724","messageId":"8c9a060903281102r3eae26edta34899485feb884b@mail.gmail.com","threadId":"18600","inReplyTo":"1238258794470-2549665.post@n2.nabble.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"Jacob Helwig","fromEmail":"jacob.helwig@gmail.com","sentAt":"2009-03-28T18:02:07Z","receivedAt":"2009-03-28T18:02:07Z","isPatch":false,"sender":{"key":"jacob.helwig@gmail.com","avatar":"https://avatars.githubusercontent.com/u/14557?v=4"},"body":"The GitHub \"Import a Subversion Repository\" page does mention that you\nshould try to avoid \"svn://example.com/project/svn\" style URLs (which\nSimuTrans uses).  Maybe it's having trouble with needing a username &\nempty password?\n\nUnfortunately, I've never actually used the \"Import from SVN\" on\nGitHub.  I see you've already posted to http://support.github.com/\nabout this.  Have you tried asking in the GitHub IRC channel?\n\nOn Sat, Mar 28, 2009 at 09:46, jamespetts <jamespetts@yahoo.com> wrote:\n>\n>\n>\n> I just tried cloning this repo using the command below, and it appears\n> to be working just fine. (Hasn't finished, yet.  Up to rev 465.)  What\n> is the full command you're using when it will hang?\n>\n> I was not using the command line - I was using the GUI on the Github website.\n> --\n> View this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2549665.html\n> Sent from the git mailing list archive at Nabble.com.\n>\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n"},{"id":"109725","messageId":"1238263580197-2549943.post@n2.nabble.com","threadId":"18600","inReplyTo":"8c9a060903281102r3eae26edta34899485feb884b@mail.gmail.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"jamespetts","fromEmail":"jamespetts@yahoo.com","sentAt":"2009-03-28T18:06:20Z","receivedAt":"2009-03-28T18:06:20Z","isPatch":false,"sender":{"key":"jamespetts@yahoo.com","avatar":"https://gravatar.com/avatar/10eb3f36b410bda3afa8ef093f56b4ebff381f4184ac8653faf882332975ed22?d=mp&s=160"},"body":"\nThank you very much for your reply :-) Ahh, I didn't realise that that sort of SVN URL should be avoided. Is there any way around that when the project itself uses that sort of URL? And I think that it does require a username and empty password. I haven't tried the Github IRC channel - I must confess - I did not know that there was one. \n\nAny suggestions about how to deal with the other problem?\n\n\n\nThe GitHub \"Import a Subversion Repository\" page does mention that you\nshould try to avoid \"svn://example.com/project/svn\" style URLs (which\nSimuTrans uses).  Maybe it's having trouble with needing a username &\nempty password?\n\nUnfortunately, I've never actually used the \"Import from SVN\" on\nGitHub.  I see you've already posted to http://support.github.com/\nabout this.  Have you tried asking in the GitHub IRC channel?\n\nOn Sat, Mar 28, 2009 at 09:46, jamespetts <jamespetts@yahoo.com> wrote:\n>\n>\n>\n> I just tried cloning this repo using the command below, and it appears\n> to be working just fine. (Hasn't finished, yet.  Up to rev 465.)  What\n> is the full command you're using when it will hang?\n>\n> I was not using the command line - I was using the GUI on the Github website.\n> --\n> View this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2549665.html\n> Sent from the git mailing list archive at Nabble.com.\n>\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n--\nTo unsubscribe from this list: send the line \"unsubscribe git\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at  http://vger.kernel.org/majordomo-info.html\n\n\n\n-- \nView this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2549943.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"109726","messageId":"8c9a060903281327j33056807j78a2cd03b8151979@mail.gmail.com","threadId":"18600","inReplyTo":"1238263580197-2549943.post@n2.nabble.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"Jacob Helwig","fromEmail":"jacob.helwig@gmail.com","sentAt":"2009-03-28T20:27:07Z","receivedAt":"2009-03-28T20:27:07Z","isPatch":false,"sender":{"key":"jacob.helwig@gmail.com","avatar":"https://avatars.githubusercontent.com/u/14557?v=4"},"body":"On Sat, Mar 28, 2009 at 11:06, jamespetts <jamespetts@yahoo.com> wrote:\n>\n> Thank you very much for your reply :-) Ahh, I didn't realise that that sort of SVN URL should be avoided. Is there any way around that when the project itself uses that sort of URL? And I think that it does require a username and empty password. I haven't tried the Github IRC channel - I must confess - I did not know that there was one.\n>\n> Any suggestions about how to deal with the other problem?\n>\n\nIt looks like GitHub won't keep the project in sync for you, so you're\nprobably best off doing the git-svn clone yourself, and maintaining it\nthat way.\n\nhttp://github.com/guides/import-from-subversion\n"},{"id":"109729","messageId":"1238276809892-2550565.post@n2.nabble.com","threadId":"18600","inReplyTo":"8c9a060903281327j33056807j78a2cd03b8151979@mail.gmail.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"jamespetts","fromEmail":"jamespetts@yahoo.com","sentAt":"2009-03-28T21:46:49Z","receivedAt":"2009-03-28T21:46:49Z","isPatch":false,"sender":{"key":"jamespetts@yahoo.com","avatar":"https://gravatar.com/avatar/10eb3f36b410bda3afa8ef093f56b4ebff381f4184ac8653faf882332975ed22?d=mp&s=160"},"body":"\nThank you for your reply. Unfortunately, I cannot for the life of me get git-svn to work. It refuses to recognise \"git svn\" as a valid command, and \"svn\" does not appear in the list of commands when I type, \"svn --help\" in Git Bash (I am using Git in Windows, if that makes any difference). I tried to look for svn2git, but the homepage linked from the link that you gave me produced a 404. \n\nAlso, once I have managed to create a Git clone of the SVN repository myself, how do I synchronise that properly with the branch of the other mirror of the SVN repository that I have been using as the trunk so far, such that I can continue to download updates and have [i]just[/i] the changes since the previous versions applied?\n\n\nOn Sat, Mar 28, 2009 at 11:06, jamespetts <jamespetts@yahoo.com> wrote:\n>\n> Thank you very much for your reply :-) Ahh, I didn't realise that that sort of SVN URL should be avoided. Is there any way around that when the project itself uses that sort of URL? And I think that it does require a username and empty password. I haven't tried the Github IRC channel - I must confess - I did not know that there was one.\n>\n> Any suggestions about how to deal with the other problem?\n>\n\nIt looks like GitHub won't keep the project in sync for you, so you're\nprobably best off doing the git-svn clone yourself, and maintaining it\nthat way.\n\nhttp://github.com/guides/import-from-subversion\n--\nTo unsubscribe from this list: send the line \"unsubscribe git\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at  http://vger.kernel.org/majordomo-info.html\n\n\n\n-- \nView this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2550565.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"109730","messageId":"fabb9a1e0903281455x3ea64688tef08524fe0c43347@mail.gmail.com","threadId":"18600","inReplyTo":"1238276809892-2550565.post@n2.nabble.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2009-03-28T21:55:37Z","receivedAt":"2009-03-28T21:55:37Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nOn Sat, Mar 28, 2009 at 22:46, jamespetts <jamespetts@yahoo.com> wrote:\n> Thank you for your reply. Unfortunately, I cannot for the life of me get\n> git-svn to work. It refuses to recognise \"git svn\" as a valid command,\n\nWhat version are you using? Are you on Windows perhaps?\n\n-- \nCheers,\n\nSverre Rabbelier\n"},{"id":"109731","messageId":"1238277660068-2550590.post@n2.nabble.com","threadId":"18600","inReplyTo":"fabb9a1e0903281455x3ea64688tef08524fe0c43347@mail.gmail.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"jamespetts","fromEmail":"jamespetts@yahoo.com","sentAt":"2009-03-28T22:01:00Z","receivedAt":"2009-03-28T22:01:00Z","isPatch":false,"sender":{"key":"jamespetts@yahoo.com","avatar":"https://gravatar.com/avatar/10eb3f36b410bda3afa8ef093f56b4ebff381f4184ac8653faf882332975ed22?d=mp&s=160"},"body":"\nYes, indeed, as stated in the above post, I am using Windows :-)\n\n\n\nHeya,\n\nOn Sat, Mar 28, 2009 at 22:46, jamespetts <jamespetts@yahoo.com> wrote:\n> Thank you for your reply. Unfortunately, I cannot for the life of me get\n> git-svn to work. It refuses to recognise \"git svn\" as a valid command,\n\nWhat version are you using? Are you on Windows perhaps?\n\n-- \nCheers,\n\nSverre Rabbelier\n--\nTo unsubscribe from this list: send the line \"unsubscribe git\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at  http://vger.kernel.org/majordomo-info.html\n\n\n\n-- \nView this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2550590.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"109733","messageId":"8c9a060903281504qd1b66hefb70e60c3f624d2@mail.gmail.com","threadId":"18600","inReplyTo":"1238276809892-2550565.post@n2.nabble.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"Jacob Helwig","fromEmail":"jacob.helwig@gmail.com","sentAt":"2009-03-28T22:04:36Z","receivedAt":"2009-03-28T22:04:36Z","isPatch":false,"sender":{"key":"jacob.helwig@gmail.com","avatar":"https://avatars.githubusercontent.com/u/14557?v=4"},"body":"On Sat, Mar 28, 2009 at 14:46, jamespetts <jamespetts@yahoo.com> wrote:\n>\n> Thank you for your reply. Unfortunately, I cannot for the life of me get git-svn to work. It refuses to recognise \"git svn\" as a valid command, and \"svn\" does not appear in the list of commands when I type, \"svn --help\" in Git Bash (I am using Git in Windows, if that makes any difference). I tried to look for svn2git, but the homepage linked from the link that you gave me produced a 404.\n>\n> Also, once I have managed to create a Git clone of the SVN repository myself, how do I synchronise that properly with the branch of the other mirror of the SVN repository that I have been using as the trunk so far, such that I can continue to download updates and have [i]just[/i] the changes since the previous versions applied?\n>\n>\n> On Sat, Mar 28, 2009 at 11:06, jamespetts <jamespetts@yahoo.com> wrote:\n>>\n>> Thank you very much for your reply :-) Ahh, I didn't realise that that sort of SVN URL should be avoided. Is there any way around that when the project itself uses that sort of URL? And I think that it does require a username and empty password. I haven't tried the Github IRC channel - I must confess - I did not know that there was one.\n>>\n>> Any suggestions about how to deal with the other problem?\n>>\n>\n> It looks like GitHub won't keep the project in sync for you, so you're\n> probably best off doing the git-svn clone yourself, and maintaining it\n> that way.\n>\n> http://github.com/guides/import-from-subversion\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n>\n>\n> --\n> View this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2550565.html\n> Sent from the git mailing list archive at Nabble.com.\n>\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n\nYou should be able to use the exact command I showed earlier within\n\"git bash\".  Also, you'd want to type \"git help svn\", not \"svn --help\"\nto see the manual.\n"},{"id":"109734","messageId":"1238278694146-2550633.post@n2.nabble.com","threadId":"18600","inReplyTo":"8c9a060903281504qd1b66hefb70e60c3f624d2@mail.gmail.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"jamespetts","fromEmail":"jamespetts@yahoo.com","sentAt":"2009-03-28T22:18:14Z","receivedAt":"2009-03-28T22:18:14Z","isPatch":false,"sender":{"key":"jamespetts@yahoo.com","avatar":"https://gravatar.com/avatar/10eb3f36b410bda3afa8ef093f56b4ebff381f4184ac8653faf882332975ed22?d=mp&s=160"},"body":"\nThank you for replying again so soon :-)\n\nI tried using the exact command that you gave me earlier, but got the identical error:\n\ngit: 'svn' is not a git-command. See 'git --help'.\n\n\nOn Sat, Mar 28, 2009 at 14:46, jamespetts <jamespetts@yahoo.com> wrote:\n>\n> Thank you for your reply. Unfortunately, I cannot for the life of me get git-svn to work. It refuses to recognise \"git svn\" as a valid command, and \"svn\" does not appear in the list of commands when I type, \"svn --help\" in Git Bash (I am using Git in Windows, if that makes any difference). I tried to look for svn2git, but the homepage linked from the link that you gave me produced a 404.\n>\n> Also, once I have managed to create a Git clone of the SVN repository myself, how do I synchronise that properly with the branch of the other mirror of the SVN repository that I have been using as the trunk so far, such that I can continue to download updates and have [i]just[/i] the changes since the previous versions applied?\n>\n>\n> On Sat, Mar 28, 2009 at 11:06, jamespetts <jamespetts@yahoo.com> wrote:\n>>\n>> Thank you very much for your reply :-) Ahh, I didn't realise that that sort of SVN URL should be avoided. Is there any way around that when the project itself uses that sort of URL? And I think that it does require a username and empty password. I haven't tried the Github IRC channel - I must confess - I did not know that there was one.\n>>\n>> Any suggestions about how to deal with the other problem?\n>>\n>\n> It looks like GitHub won't keep the project in sync for you, so you're\n> probably best off doing the git-svn clone yourself, and maintaining it\n> that way.\n>\n> http://github.com/guides/import-from-subversion\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n>\n>\n> --\n> View this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2550565.html\n> Sent from the git mailing list archive at Nabble.com.\n>\n> --\n> To unsubscribe from this list: send the line \"unsubscribe git\" in\n> the body of a message to majordomo@vger.kernel.org\n> More majordomo info at  http://vger.kernel.org/majordomo-info.html\n>\n\nYou should be able to use the exact command I showed earlier within\n\"git bash\".  Also, you'd want to type \"git help svn\", not \"svn --help\"\nto see the manual.\n--\nTo unsubscribe from this list: send the line \"unsubscribe git\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at  http://vger.kernel.org/majordomo-info.html\n\n\n\n-- \nView this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2550633.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"109735","messageId":"fabb9a1e0903281521y2e6785f1w5dde3c73be404327@mail.gmail.com","threadId":"18600","inReplyTo":"1238278694146-2550633.post@n2.nabble.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2009-03-28T22:21:25Z","receivedAt":"2009-03-28T22:21:25Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nOn Sat, Mar 28, 2009 at 23:18, jamespetts <jamespetts@yahoo.com> wrote:\n> git: 'svn' is not a git-command. See 'git --help'.\n\nTry updating to the latest snapshot, git shipped without svn on\nwindows for a few releases.\n\n-- \nCheers,\n\nSverre Rabbelier\n"},{"id":"109765","messageId":"1238323876827-2552153.post@n2.nabble.com","threadId":"18600","inReplyTo":"fabb9a1e0903281521y2e6785f1w5dde3c73be404327@mail.gmail.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"jamespetts","fromEmail":"jamespetts@yahoo.com","sentAt":"2009-03-29T10:51:16Z","receivedAt":"2009-03-29T10:51:16Z","isPatch":false,"sender":{"key":"jamespetts@yahoo.com","avatar":"https://gravatar.com/avatar/10eb3f36b410bda3afa8ef093f56b4ebff381f4184ac8653faf882332975ed22?d=mp&s=160"},"body":"\nThank you for your reply :-) I updated, and was able to get the git svn command to work, using the syntax described in a previous post.\n\nHowever, after several hours of downloading (I left it overnight), it gave the error, \"The connection was aborted: Can't read from connection: The connection was aborted at C:\\Program Files\\Git/libexec/git-core/git-svn/ line 2490\".\n\nWhen I look at my repository on Github, it is still empty, apart from the empty README file that I created just to initialise it. Why would it be going wrong? How do I deal with that?\n\n\nHeya,\n\nOn Sat, Mar 28, 2009 at 23:18, jamespetts <jamespetts@yahoo.com> wrote:\n> git: 'svn' is not a git-command. See 'git --help'.\n\nTry updating to the latest snapshot, git shipped without svn on\nwindows for a few releases.\n\n-- \nCheers,\n\nSverre Rabbelier\n--\nTo unsubscribe from this list: send the line \"unsubscribe git\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at  http://vger.kernel.org/majordomo-info.html\n\n\n\n-- \nView this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2552153.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"109767","messageId":"fabb9a1e0903290403s2b0bbe1al57ac448a16d05070@mail.gmail.com","threadId":"18600","inReplyTo":"1238323876827-2552153.post@n2.nabble.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2009-03-29T11:03:01Z","receivedAt":"2009-03-29T11:03:01Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nOn Sun, Mar 29, 2009 at 12:51, jamespetts <jamespetts@yahoo.com> wrote:\n> However, after several hours of downloading (I left it overnight), it gave the error, \"The connection was aborted: Can't read from connection: The connection was aborted at C:\\Program Files\\Git/libexec/git-core/git-svn/ line 2490\".\n\nYou can continue downloading, just issue' git svn rebase' again, and\nit will continue where it left of.\n\n> When I look at my repository on Github, it is still empty, apart\n> from the empty README file that I created just to initialise it.\n> Why would it be going wrong? How do I deal with that?\n\nYou would have to push the repository to github regardless of whether\n'git svn rebase' finished in one go. Keep in mind that' git svn\nrebase' is the way to get changes _into_ your _local_ repository.\nYou'll need to use 'git push' to get your changes up to github.\n\n-- \nCheers,\n\nSverre Rabbelier\n"},{"id":"109769","messageId":"1238327564546-2552334.post@n2.nabble.com","threadId":"18600","inReplyTo":"fabb9a1e0903290403s2b0bbe1al57ac448a16d05070@mail.gmail.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"jamespetts","fromEmail":"jamespetts@yahoo.com","sentAt":"2009-03-29T11:52:44Z","receivedAt":"2009-03-29T11:52:44Z","isPatch":false,"sender":{"key":"jamespetts@yahoo.com","avatar":"https://gravatar.com/avatar/10eb3f36b410bda3afa8ef093f56b4ebff381f4184ac8653faf882332975ed22?d=mp&s=160"},"body":"\nThank you again for your reply :-) Ahh, yes, that makes sense about the local repository. However, on checking, the local repository that I set up has no files except in .git directories - is that to be expected at this stage?\n\nAlso, when I tried \"git svn rebase\", I got the following error:\n\n\"Migrating from a git-svn v1 layout...\n\n\"Data from a previous version exists, but .git/svn (required for this version (1.6.2 msysgit.0.186.gf7512) of git-svn) does not exist. Done migrating from a git-svn v1 layout\n\n\"Unable to determine upstream SVN information from working tree history\"\n\nAnd the local directories for the repositories are still empty. Am I doing something wrong...?\n\n\nHeya,\n\nOn Sun, Mar 29, 2009 at 12:51, jamespetts <jamespetts@yahoo.com> wrote:\n> However, after several hours of downloading (I left it overnight), it gave the error, \"The connection was aborted: Can't read from connection: The connection was aborted at C:\\Program Files\\Git/libexec/git-core/git-svn/ line 2490\".\n\nYou can continue downloading, just issue' git svn rebase' again, and\nit will continue where it left of.\n\n> When I look at my repository on Github, it is still empty, apart\n> from the empty README file that I created just to initialise it.\n> Why would it be going wrong? How do I deal with that?\n\nYou would have to push the repository to github regardless of whether\n'git svn rebase' finished in one go. Keep in mind that' git svn\nrebase' is the way to get changes _into_ your _local_ repository.\nYou'll need to use 'git push' to get your changes up to github.\n\n-- \nCheers,\n\nSverre Rabbelier\n--\nTo unsubscribe from this list: send the line \"unsubscribe git\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at  http://vger.kernel.org/majordomo-info.html\n\n\n\n-- \nView this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2552334.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"109771","messageId":"fabb9a1e0903290503g7ec0a37djd71ce8eba6220d70@mail.gmail.com","threadId":"18600","inReplyTo":"1238327564546-2552334.post@n2.nabble.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2009-03-29T12:03:33Z","receivedAt":"2009-03-29T12:03:33Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\n[it is customary on this list not to top post and to reply in-line,\nlike I'm doing now]\n\nOn Sun, Mar 29, 2009 at 13:52, jamespetts <jamespetts@yahoo.com> wrote:\n> Also, when I tried \"git svn rebase\", I got the following error:\n\n> And the local directories for the repositories are still empty. Am I doing something wrong...?\n\nYou need to do something like 'git reset --hard trunk' on the master\nbranch, after which you can use 'git svn rebase'. This is needed the\nfirst time only so that git svn can then figure out where you're at\nfrom the commit messages.\n\n-- \nCheers,\n\nSverre Rabbelier\n"},{"id":"109772","messageId":"1238328537685-2552369.post@n2.nabble.com","threadId":"18600","inReplyTo":"fabb9a1e0903290503g7ec0a37djd71ce8eba6220d70@mail.gmail.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"jamespetts","fromEmail":"jamespetts@yahoo.com","sentAt":"2009-03-29T12:08:57Z","receivedAt":"2009-03-29T12:08:57Z","isPatch":false,"sender":{"key":"jamespetts@yahoo.com","avatar":"https://gravatar.com/avatar/10eb3f36b410bda3afa8ef093f56b4ebff381f4184ac8653faf882332975ed22?d=mp&s=160"},"body":"\n\n\nHeya,\n\n[it is customary on this list not to top post and to reply in-line,\nlike I'm doing now]\n\nOhh, terribly sorry - didn't realise.\n\nOn Sun, Mar 29, 2009 at 13:52, jamespetts <jamespetts@yahoo.com> wrote:\n> Also, when I tried \"git svn rebase\", I got the following error:\n\n> And the local directories for the repositories are still empty. Am I doing something wrong...?\n\nYou need to do something like 'git reset --hard trunk' on the master\nbranch, after which you can use 'git svn rebase'. This is needed the\nfirst time only so that git svn can then figure out where you're at\nfrom the commit messages.\n\nThank you for that suggestion :-) Unfortunately, \"git reset --hard trunk\" produced the following error:\n\n\"fatal: ambiguous argument 'trunk': unknown revision or path not in the working tree.\n\n\"use '--' to separate paths from revisions\".\n\nWhat am I doing wrong this time...?\n-- \nView this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2552369.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"109774","messageId":"fabb9a1e0903290535y59cd3a1fvd5a7d3476dff45bc@mail.gmail.com","threadId":"18600","inReplyTo":"1238328537685-2552369.post@n2.nabble.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2009-03-29T12:35:24Z","receivedAt":"2009-03-29T12:35:24Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nOn Sun, Mar 29, 2009 at 14:08, jamespetts <jamespetts@yahoo.com> wrote:\n> \"fatal: ambiguous argument 'trunk': unknown revision or path not in the working tree.\n>\n> \"use '--' to separate paths from revisions\".\n>\n> What am I doing wrong this time...?\n\nYou can do \"git branch -a\" to see which branch name git svn uses, it\nmight be 'git-svn', it depends on which version you're using I think.\n\n-- \nCheers,\n\nSverre Rabbelier\n"},{"id":"109775","messageId":"1238331203288-2552470.post@n2.nabble.com","threadId":"18600","inReplyTo":"fabb9a1e0903290535y59cd3a1fvd5a7d3476dff45bc@mail.gmail.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"jamespetts","fromEmail":"jamespetts@yahoo.com","sentAt":"2009-03-29T12:53:23Z","receivedAt":"2009-03-29T12:53:23Z","isPatch":false,"sender":{"key":"jamespetts@yahoo.com","avatar":"https://gravatar.com/avatar/10eb3f36b410bda3afa8ef093f56b4ebff381f4184ac8653faf882332975ed22?d=mp&s=160"},"body":"\n\nHeya,\n\nOn Sun, Mar 29, 2009 at 14:08, jamespetts <jamespetts@yahoo.com> wrote:\n> \"fatal: ambiguous argument 'trunk': unknown revision or path not in the working tree.\n>\n> \"use '--' to separate paths from revisions\".\n>\n> What am I doing wrong this time...?\n\nYou can do \"git branch -a\" to see which branch name git svn uses, it\nmight be 'git-svn', it depends on which version you're using I think.\n\n\n\nThank you for the suggestion - the first part seemed to work: once I got the correct name, \"...reset --hard\" responded with:\n\n\"HEAD is now at 4939935 first commit\".\n\nHowever, when I tried \"git svn rebase\" again, I still got this error:\n\n\"Unable to determine upstream SVN infromation from working tree history\".\n\nHave I done something wrong...?\n-- \nView this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2552470.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"109776","messageId":"fabb9a1e0903290555o3503b58ie097f8f8336c4401@mail.gmail.com","threadId":"18600","inReplyTo":"1238331203288-2552470.post@n2.nabble.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"Sverre Rabbelier","fromEmail":"srabbelier@gmail.com","sentAt":"2009-03-29T12:55:38Z","receivedAt":"2009-03-29T12:55:38Z","isPatch":false,"sender":{"key":"srabbelier@gmail.com","avatar":"https://avatars.githubusercontent.com/u/3098?v=4"},"body":"Heya,\n\nOn Sun, Mar 29, 2009 at 14:53, jamespetts <jamespetts@yahoo.com> wrote:\n>\n> \"Unable to determine upstream SVN infromation from working tree history\".\n>\n> Have I done something wrong...?\n\nI'm afraid this is where my git-svn knowledge is no longer sufficient\n:(. I have had the same problem myself, and I don't know how to fix\nit, perhaps Eric has a moment to enlighten?\n\n-- \nCheers,\n\nSverre Rabbelier\n"},{"id":"109778","messageId":"1238339230806-2552797.post@n2.nabble.com","threadId":"18600","inReplyTo":"fabb9a1e0903290555o3503b58ie097f8f8336c4401@mail.gmail.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"jamespetts","fromEmail":"jamespetts@yahoo.com","sentAt":"2009-03-29T15:07:10Z","receivedAt":"2009-03-29T15:07:10Z","isPatch":false,"sender":{"key":"jamespetts@yahoo.com","avatar":"https://gravatar.com/avatar/10eb3f36b410bda3afa8ef093f56b4ebff381f4184ac8653faf882332975ed22?d=mp&s=160"},"body":"\n\n\nHeya,\n\nOn Sun, Mar 29, 2009 at 14:53, jamespetts <jamespetts@yahoo.com> wrote:\n>\n> \"Unable to determine upstream SVN infromation from working tree history\".\n>\n> Have I done something wrong...?\n\nI'm afraid this is where my git-svn knowledge is no longer sufficient\n:(. I have had the same problem myself, and I don't know how to fix\nit, perhaps Eric has a moment to enlighten?\n\nSupposing that Eric is unable to find a solution - would there be any mileage in doing it manually? That is, checking out the SVN repository into a local directory, initialising that as a Git repository, and then pushing it to Github? If so, would that make it any harder to re-synchronise with my branch than the git-svn method?\n-- \nView this message in context: http://n2.nabble.com/Fork-of-abandoned-SVN-mirror---how-to-keep-up-to-date-with-the-SVN-tp2548952p2552797.html\nSent from the git mailing list archive at Nabble.com.\n"},{"id":"109792","messageId":"20090329221642.GA16507@dcvr.yhbt.net","threadId":"18600","inReplyTo":"fabb9a1e0903290555o3503b58ie097f8f8336c4401@mail.gmail.com","subject":"Re: Fork of abandoned SVN mirror - how to keep up to date with the SVN","fromName":"Eric Wong","fromEmail":"normalperson@yhbt.net","sentAt":"2009-03-29T22:16:42Z","receivedAt":"2009-03-29T22:16:42Z","isPatch":false,"sender":{"key":"e@80x24.org","avatar":null},"body":"Sverre Rabbelier <srabbelier@gmail.com> wrote:\n> Heya,\n> \n> On Sun, Mar 29, 2009 at 14:53, jamespetts <jamespetts@yahoo.com> wrote:\n> >\n> > \"Unable to determine upstream SVN infromation from working tree history\".\n> >\n> > Have I done something wrong...?\n> \n> I'm afraid this is where my git-svn knowledge is no longer sufficient\n> :(. I have had the same problem myself, and I don't know how to fix\n> it, perhaps Eric has a moment to enlighten?\n\nWhat does \"git log\" in your working tree say before you run \"git svn\nrebase\"?\n\nThen, what does \"git log <ref_of_svn_remote_you_reset_to>\" say?\n\n\"git svn rebase\" relies on the \"git-svn-id:\" line in the log message\nas well as the stored checksum to determine how to rebase the\ncurrent HEAD.\n\nHowever, \"git svn fetch\" should always work[1] and not touch the current\nHEAD.  You can run \"git svn fetch\" to get the new updates and then\npush your remotes out as heads by setting up your pushes to github\nlike this .git/config (totally untested):\n\n[remote \"github\"]\n\turl = user@github.com/foo/bar.git\n\tpush = refs/remotes/*:refs/heads/*\n\n\n[1] - at least on POSIX, I don't know if git-svn is still broken\nin Windows and can't help if is.\n\n-- \nEric Wong\n"}]}