{"thread":{"id":"49872","subject":"Fwd: \"show-ignore\" problem after svn-git clone","startedAt":"2018-11-21T13:37:20Z","lastAt":"2018-11-21T15:53:44Z","messageCount":5,"participants":["Jamie Jackson","Konstantin Khomoutov"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"363823","messageId":"CA+onWPe9hmr36xvc9F58KwW5fyby-wn6F2hiJy9ce__sA1mSjw@mail.gmail.com","threadId":"49872","inReplyTo":"CA+onWPcgHMCffjfNO3wxMwVD2bOJzWmwtYtrj9QakDUEA=OXqQ@mail.gmail.com","subject":"Fwd: \"show-ignore\" problem after svn-git clone","fromName":"Jamie Jackson","fromEmail":"jamiejaxon@gmail.com","sentAt":"2018-11-21T13:37:03Z","receivedAt":"2018-11-21T13:37:20Z","isPatch":false,"sender":{"key":"jamiejaxon@gmail.com","avatar":null},"body":"I'm brand new to svn-git and I'm having a problem right out of the\ngate. I suspect I need a different ID, but I have no clue how to get\nit.\n\nHere's the failed attempt:\nhttps://gist.github.com/jamiejackson/57e90302802f4990b36dfe28c3c71d13\n\nWhat am I doing wrong?\n\nThanks,\nJamie\n"},{"id":"363833","messageId":"20181121144453.gnqcn5ugvd2yo5jl@tigra","threadId":"49872","inReplyTo":"CA+onWPe9hmr36xvc9F58KwW5fyby-wn6F2hiJy9ce__sA1mSjw@mail.gmail.com","subject":"Re: Fwd: \"show-ignore\" problem after svn-git clone","fromName":"Konstantin Khomoutov","fromEmail":"kostix@bswap.ru","sentAt":"2018-11-21T14:44:53Z","receivedAt":"2018-11-21T14:45:01Z","isPatch":false,"sender":{"key":"kostix@bswap.ru","avatar":null},"body":"On Wed, Nov 21, 2018 at 08:37:03AM -0500, Jamie Jackson wrote:\n\n> I'm brand new to svn-git and I'm having a problem right out of the\n> gate. I suspect I need a different ID, but I have no clue how to get\n> it.\n> \n> Here's the failed attempt:\n> https://gist.github.com/jamiejackson/57e90302802f4990b36dfe28c3c71d13\n\nPlease post the content supposedly available at that link in your mail\nmessage, inline.  Otherwise it's impossibly to sensibly comment on it.\n\n"},{"id":"363837","messageId":"CA+onWPf71VU9r9S6MxqEAxxCF+9gqMLoPdmOb83NK+MJDUAM8w@mail.gmail.com","threadId":"49872","inReplyTo":"20181121144453.gnqcn5ugvd2yo5jl@tigra","subject":"Re: Fwd: \"show-ignore\" problem after svn-git clone","fromName":"Jamie Jackson","fromEmail":"jamiejaxon@gmail.com","sentAt":"2018-11-21T15:38:18Z","receivedAt":"2018-11-21T15:38:33Z","isPatch":false,"sender":{"key":"jamiejaxon@gmail.com","avatar":null},"body":"ICF2008571:eclipse-workspace jjackson$ git svn clone \\\n>   -r 95115:HEAD https://mydomain.com/svn/HUD/onecpd \\\n>   -T trunk \\\n>   --no-metadata \\\n>   -A ~/eclipse-workspace/scraps/git_migration/users.txt \\\n>   hudx-git-migration\nICF2008571:eclipse-workspace jjackson$ cd hudx-git-migration/\n\nICF2008571:hudx-git-migration jjackson$ git svn show-ignore\nfatal: bad revision 'HEAD'\nrev-list --first-parent --pretty=medium HEAD --: command returned error: 128\n\nICF2008571:hudx-git-migration jjackson$ git svn show-ignore --id=origin/trunk\nfatal: bad revision 'HEAD'\nrev-list --first-parent --pretty=medium HEAD --: command returned error: 128\n\nICF2008571:hudx-git-migration jjackson$ cat .git/config\n[core]\nrepositoryformatversion = 0\nfilemode = true\nbare = false\nlogallrefupdates = true\nignorecase = true\nprecomposeunicode = true\n[svn-remote \"svn\"]\nnoMetadata = 1\nurl = https://mydomain.com/svn/HUD\nfetch = onecpd/trunk:refs/remotes/origin/trunk\n[svn]\nauthorsfile = /Users/jjackson/eclipse-workspace/scraps/git_migration/users.txt\n\nOn Wed, Nov 21, 2018 at 9:44 AM Konstantin Khomoutov <kostix@bswap.ru> wrote:\n>\n> On Wed, Nov 21, 2018 at 08:37:03AM -0500, Jamie Jackson wrote:\n>\n> > I'm brand new to svn-git and I'm having a problem right out of the\n> > gate. I suspect I need a different ID, but I have no clue how to get\n> > it.\n> >\n> > Here's the failed attempt:\n> > https://gist.github.com/jamiejackson/57e90302802f4990b36dfe28c3c71d13\n>\n> Please post the content supposedly available at that link in your mail\n> message, inline.  Otherwise it's impossibly to sensibly comment on it.\n>\n"},{"id":"363838","messageId":"CA+onWPeiOz5_nvgDpcxVpBaMQUHg14yKTbfFnRuQV1vWnpCVFA@mail.gmail.com","threadId":"49872","inReplyTo":"CA+onWPf71VU9r9S6MxqEAxxCF+9gqMLoPdmOb83NK+MJDUAM8w@mail.gmail.com","subject":"Re: Fwd: \"show-ignore\" problem after svn-git clone","fromName":"Jamie Jackson","fromEmail":"jamiejaxon@gmail.com","sentAt":"2018-11-21T15:45:18Z","receivedAt":"2018-11-21T15:45:34Z","isPatch":false,"sender":{"key":"jamiejaxon@gmail.com","avatar":null},"body":"By the way, my goal is to pull in trunk (only) at first, and possibly\npull in certain branches (later) on an as-needed basis. I'll need to\nsync the Git repo with SVN for a while, until we permanently switch to\nGit (and put SVN in read-only).\nOn Wed, Nov 21, 2018 at 10:38 AM Jamie Jackson <jamiejaxon@gmail.com> wrote:\n>\n> ICF2008571:eclipse-workspace jjackson$ git svn clone \\\n> >   -r 95115:HEAD https://mydomain.com/svn/HUD/onecpd \\\n> >   -T trunk \\\n> >   --no-metadata \\\n> >   -A ~/eclipse-workspace/scraps/git_migration/users.txt \\\n> >   hudx-git-migration\n> ICF2008571:eclipse-workspace jjackson$ cd hudx-git-migration/\n>\n> ICF2008571:hudx-git-migration jjackson$ git svn show-ignore\n> fatal: bad revision 'HEAD'\n> rev-list --first-parent --pretty=medium HEAD --: command returned error: 128\n>\n> ICF2008571:hudx-git-migration jjackson$ git svn show-ignore --id=origin/trunk\n> fatal: bad revision 'HEAD'\n> rev-list --first-parent --pretty=medium HEAD --: command returned error: 128\n>\n> ICF2008571:hudx-git-migration jjackson$ cat .git/config\n> [core]\n> repositoryformatversion = 0\n> filemode = true\n> bare = false\n> logallrefupdates = true\n> ignorecase = true\n> precomposeunicode = true\n> [svn-remote \"svn\"]\n> noMetadata = 1\n> url = https://mydomain.com/svn/HUD\n> fetch = onecpd/trunk:refs/remotes/origin/trunk\n> [svn]\n> authorsfile = /Users/jjackson/eclipse-workspace/scraps/git_migration/users.txt\n>\n> On Wed, Nov 21, 2018 at 9:44 AM Konstantin Khomoutov <kostix@bswap.ru> wrote:\n> >\n> > On Wed, Nov 21, 2018 at 08:37:03AM -0500, Jamie Jackson wrote:\n> >\n> > > I'm brand new to svn-git and I'm having a problem right out of the\n> > > gate. I suspect I need a different ID, but I have no clue how to get\n> > > it.\n> > >\n> > > Here's the failed attempt:\n> > > https://gist.github.com/jamiejackson/57e90302802f4990b36dfe28c3c71d13\n> >\n> > Please post the content supposedly available at that link in your mail\n> > message, inline.  Otherwise it's impossibly to sensibly comment on it.\n> >\n"},{"id":"363840","messageId":"CA+onWPey2Mv81CVs2+4MYGv7JZSE0NJ-W17=Xr+HMTnc7aMzzA@mail.gmail.com","threadId":"49872","inReplyTo":"CA+onWPeiOz5_nvgDpcxVpBaMQUHg14yKTbfFnRuQV1vWnpCVFA@mail.gmail.com","subject":"Re: Fwd: \"show-ignore\" problem after svn-git clone","fromName":"Jamie Jackson","fromEmail":"jamiejaxon@gmail.com","sentAt":"2018-11-21T15:53:29Z","receivedAt":"2018-11-21T15:53:44Z","isPatch":false,"sender":{"key":"jamiejaxon@gmail.com","avatar":null},"body":"I think I've got it now; maybe I just needed to sleep on it. It's\nhappier if I use the whole URL for trunk in the -T parameter.\n\nI'll see how the rest of it plays out, but the `git svn show-ignore\n--id=origin/trunk` command is working now.\nOn Wed, Nov 21, 2018 at 10:45 AM Jamie Jackson <jamiejaxon@gmail.com> wrote:\n>\n> By the way, my goal is to pull in trunk (only) at first, and possibly\n> pull in certain branches (later) on an as-needed basis. I'll need to\n> sync the Git repo with SVN for a while, until we permanently switch to\n> Git (and put SVN in read-only).\n> On Wed, Nov 21, 2018 at 10:38 AM Jamie Jackson <jamiejaxon@gmail.com> wrote:\n> >\n> > ICF2008571:eclipse-workspace jjackson$ git svn clone \\\n> > >   -r 95115:HEAD https://mydomain.com/svn/HUD/onecpd \\\n> > >   -T trunk \\\n> > >   --no-metadata \\\n> > >   -A ~/eclipse-workspace/scraps/git_migration/users.txt \\\n> > >   hudx-git-migration\n> > ICF2008571:eclipse-workspace jjackson$ cd hudx-git-migration/\n> >\n> > ICF2008571:hudx-git-migration jjackson$ git svn show-ignore\n> > fatal: bad revision 'HEAD'\n> > rev-list --first-parent --pretty=medium HEAD --: command returned error: 128\n> >\n> > ICF2008571:hudx-git-migration jjackson$ git svn show-ignore --id=origin/trunk\n> > fatal: bad revision 'HEAD'\n> > rev-list --first-parent --pretty=medium HEAD --: command returned error: 128\n> >\n> > ICF2008571:hudx-git-migration jjackson$ cat .git/config\n> > [core]\n> > repositoryformatversion = 0\n> > filemode = true\n> > bare = false\n> > logallrefupdates = true\n> > ignorecase = true\n> > precomposeunicode = true\n> > [svn-remote \"svn\"]\n> > noMetadata = 1\n> > url = https://mydomain.com/svn/HUD\n> > fetch = onecpd/trunk:refs/remotes/origin/trunk\n> > [svn]\n> > authorsfile = /Users/jjackson/eclipse-workspace/scraps/git_migration/users.txt\n> >\n> > On Wed, Nov 21, 2018 at 9:44 AM Konstantin Khomoutov <kostix@bswap.ru> wrote:\n> > >\n> > > On Wed, Nov 21, 2018 at 08:37:03AM -0500, Jamie Jackson wrote:\n> > >\n> > > > I'm brand new to svn-git and I'm having a problem right out of the\n> > > > gate. I suspect I need a different ID, but I have no clue how to get\n> > > > it.\n> > > >\n> > > > Here's the failed attempt:\n> > > > https://gist.github.com/jamiejackson/57e90302802f4990b36dfe28c3c71d13\n> > >\n> > > Please post the content supposedly available at that link in your mail\n> > > message, inline.  Otherwise it's impossibly to sensibly comment on it.\n> > >\n"}]}