git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Fwd: "show-ignore" problem after svn-git clone
       [not found] <CA+onWPcgHMCffjfNO3wxMwVD2bOJzWmwtYtrj9QakDUEA=OXqQ@mail.gmail.com>
@ 2018-11-21 13:37 ` Jamie Jackson
  2018-11-21 14:44   ` Konstantin Khomoutov
  0 siblings, 1 reply; 5+ messages in thread
From: Jamie Jackson @ 2018-11-21 13:37 UTC (permalink / raw)
  To: git

I'm brand new to svn-git and I'm having a problem right out of the
gate. I suspect I need a different ID, but I have no clue how to get
it.

Here's the failed attempt:
https://gist.github.com/jamiejackson/57e90302802f4990b36dfe28c3c71d13

What am I doing wrong?

Thanks,
Jamie

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fwd: "show-ignore" problem after svn-git clone
  2018-11-21 13:37 ` Fwd: "show-ignore" problem after svn-git clone Jamie Jackson
@ 2018-11-21 14:44   ` Konstantin Khomoutov
  2018-11-21 15:38     ` Jamie Jackson
  0 siblings, 1 reply; 5+ messages in thread
From: Konstantin Khomoutov @ 2018-11-21 14:44 UTC (permalink / raw)
  To: Jamie Jackson; +Cc: git

On Wed, Nov 21, 2018 at 08:37:03AM -0500, Jamie Jackson wrote:

> I'm brand new to svn-git and I'm having a problem right out of the
> gate. I suspect I need a different ID, but I have no clue how to get
> it.
> 
> Here's the failed attempt:
> https://gist.github.com/jamiejackson/57e90302802f4990b36dfe28c3c71d13

Please post the content supposedly available at that link in your mail
message, inline.  Otherwise it's impossibly to sensibly comment on it.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fwd: "show-ignore" problem after svn-git clone
  2018-11-21 14:44   ` Konstantin Khomoutov
@ 2018-11-21 15:38     ` Jamie Jackson
  2018-11-21 15:45       ` Jamie Jackson
  0 siblings, 1 reply; 5+ messages in thread
From: Jamie Jackson @ 2018-11-21 15:38 UTC (permalink / raw)
  To: kostix; +Cc: git

ICF2008571:eclipse-workspace jjackson$ git svn clone \
>   -r 95115:HEAD https://mydomain.com/svn/HUD/onecpd \
>   -T trunk \
>   --no-metadata \
>   -A ~/eclipse-workspace/scraps/git_migration/users.txt \
>   hudx-git-migration
ICF2008571:eclipse-workspace jjackson$ cd hudx-git-migration/

ICF2008571:hudx-git-migration jjackson$ git svn show-ignore
fatal: bad revision 'HEAD'
rev-list --first-parent --pretty=medium HEAD --: command returned error: 128

ICF2008571:hudx-git-migration jjackson$ git svn show-ignore --id=origin/trunk
fatal: bad revision 'HEAD'
rev-list --first-parent --pretty=medium HEAD --: command returned error: 128

ICF2008571:hudx-git-migration jjackson$ cat .git/config
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
precomposeunicode = true
[svn-remote "svn"]
noMetadata = 1
url = https://mydomain.com/svn/HUD
fetch = onecpd/trunk:refs/remotes/origin/trunk
[svn]
authorsfile = /Users/jjackson/eclipse-workspace/scraps/git_migration/users.txt

On Wed, Nov 21, 2018 at 9:44 AM Konstantin Khomoutov <kostix@bswap.ru> wrote:
>
> On Wed, Nov 21, 2018 at 08:37:03AM -0500, Jamie Jackson wrote:
>
> > I'm brand new to svn-git and I'm having a problem right out of the
> > gate. I suspect I need a different ID, but I have no clue how to get
> > it.
> >
> > Here's the failed attempt:
> > https://gist.github.com/jamiejackson/57e90302802f4990b36dfe28c3c71d13
>
> Please post the content supposedly available at that link in your mail
> message, inline.  Otherwise it's impossibly to sensibly comment on it.
>

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fwd: "show-ignore" problem after svn-git clone
  2018-11-21 15:38     ` Jamie Jackson
@ 2018-11-21 15:45       ` Jamie Jackson
  2018-11-21 15:53         ` Jamie Jackson
  0 siblings, 1 reply; 5+ messages in thread
From: Jamie Jackson @ 2018-11-21 15:45 UTC (permalink / raw)
  To: kostix; +Cc: git

By the way, my goal is to pull in trunk (only) at first, and possibly
pull in certain branches (later) on an as-needed basis. I'll need to
sync the Git repo with SVN for a while, until we permanently switch to
Git (and put SVN in read-only).
On Wed, Nov 21, 2018 at 10:38 AM Jamie Jackson <jamiejaxon@gmail.com> wrote:
>
> ICF2008571:eclipse-workspace jjackson$ git svn clone \
> >   -r 95115:HEAD https://mydomain.com/svn/HUD/onecpd \
> >   -T trunk \
> >   --no-metadata \
> >   -A ~/eclipse-workspace/scraps/git_migration/users.txt \
> >   hudx-git-migration
> ICF2008571:eclipse-workspace jjackson$ cd hudx-git-migration/
>
> ICF2008571:hudx-git-migration jjackson$ git svn show-ignore
> fatal: bad revision 'HEAD'
> rev-list --first-parent --pretty=medium HEAD --: command returned error: 128
>
> ICF2008571:hudx-git-migration jjackson$ git svn show-ignore --id=origin/trunk
> fatal: bad revision 'HEAD'
> rev-list --first-parent --pretty=medium HEAD --: command returned error: 128
>
> ICF2008571:hudx-git-migration jjackson$ cat .git/config
> [core]
> repositoryformatversion = 0
> filemode = true
> bare = false
> logallrefupdates = true
> ignorecase = true
> precomposeunicode = true
> [svn-remote "svn"]
> noMetadata = 1
> url = https://mydomain.com/svn/HUD
> fetch = onecpd/trunk:refs/remotes/origin/trunk
> [svn]
> authorsfile = /Users/jjackson/eclipse-workspace/scraps/git_migration/users.txt
>
> On Wed, Nov 21, 2018 at 9:44 AM Konstantin Khomoutov <kostix@bswap.ru> wrote:
> >
> > On Wed, Nov 21, 2018 at 08:37:03AM -0500, Jamie Jackson wrote:
> >
> > > I'm brand new to svn-git and I'm having a problem right out of the
> > > gate. I suspect I need a different ID, but I have no clue how to get
> > > it.
> > >
> > > Here's the failed attempt:
> > > https://gist.github.com/jamiejackson/57e90302802f4990b36dfe28c3c71d13
> >
> > Please post the content supposedly available at that link in your mail
> > message, inline.  Otherwise it's impossibly to sensibly comment on it.
> >

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Fwd: "show-ignore" problem after svn-git clone
  2018-11-21 15:45       ` Jamie Jackson
@ 2018-11-21 15:53         ` Jamie Jackson
  0 siblings, 0 replies; 5+ messages in thread
From: Jamie Jackson @ 2018-11-21 15:53 UTC (permalink / raw)
  To: kostix; +Cc: git

I think I've got it now; maybe I just needed to sleep on it. It's
happier if I use the whole URL for trunk in the -T parameter.

I'll see how the rest of it plays out, but the `git svn show-ignore
--id=origin/trunk` command is working now.
On Wed, Nov 21, 2018 at 10:45 AM Jamie Jackson <jamiejaxon@gmail.com> wrote:
>
> By the way, my goal is to pull in trunk (only) at first, and possibly
> pull in certain branches (later) on an as-needed basis. I'll need to
> sync the Git repo with SVN for a while, until we permanently switch to
> Git (and put SVN in read-only).
> On Wed, Nov 21, 2018 at 10:38 AM Jamie Jackson <jamiejaxon@gmail.com> wrote:
> >
> > ICF2008571:eclipse-workspace jjackson$ git svn clone \
> > >   -r 95115:HEAD https://mydomain.com/svn/HUD/onecpd \
> > >   -T trunk \
> > >   --no-metadata \
> > >   -A ~/eclipse-workspace/scraps/git_migration/users.txt \
> > >   hudx-git-migration
> > ICF2008571:eclipse-workspace jjackson$ cd hudx-git-migration/
> >
> > ICF2008571:hudx-git-migration jjackson$ git svn show-ignore
> > fatal: bad revision 'HEAD'
> > rev-list --first-parent --pretty=medium HEAD --: command returned error: 128
> >
> > ICF2008571:hudx-git-migration jjackson$ git svn show-ignore --id=origin/trunk
> > fatal: bad revision 'HEAD'
> > rev-list --first-parent --pretty=medium HEAD --: command returned error: 128
> >
> > ICF2008571:hudx-git-migration jjackson$ cat .git/config
> > [core]
> > repositoryformatversion = 0
> > filemode = true
> > bare = false
> > logallrefupdates = true
> > ignorecase = true
> > precomposeunicode = true
> > [svn-remote "svn"]
> > noMetadata = 1
> > url = https://mydomain.com/svn/HUD
> > fetch = onecpd/trunk:refs/remotes/origin/trunk
> > [svn]
> > authorsfile = /Users/jjackson/eclipse-workspace/scraps/git_migration/users.txt
> >
> > On Wed, Nov 21, 2018 at 9:44 AM Konstantin Khomoutov <kostix@bswap.ru> wrote:
> > >
> > > On Wed, Nov 21, 2018 at 08:37:03AM -0500, Jamie Jackson wrote:
> > >
> > > > I'm brand new to svn-git and I'm having a problem right out of the
> > > > gate. I suspect I need a different ID, but I have no clue how to get
> > > > it.
> > > >
> > > > Here's the failed attempt:
> > > > https://gist.github.com/jamiejackson/57e90302802f4990b36dfe28c3c71d13
> > >
> > > Please post the content supposedly available at that link in your mail
> > > message, inline.  Otherwise it's impossibly to sensibly comment on it.
> > >

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-11-21 15:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CA+onWPcgHMCffjfNO3wxMwVD2bOJzWmwtYtrj9QakDUEA=OXqQ@mail.gmail.com>
2018-11-21 13:37 ` Fwd: "show-ignore" problem after svn-git clone Jamie Jackson
2018-11-21 14:44   ` Konstantin Khomoutov
2018-11-21 15:38     ` Jamie Jackson
2018-11-21 15:45       ` Jamie Jackson
2018-11-21 15:53         ` Jamie Jackson

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).