You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directmemory.apache.org by Jeff MAURY <je...@jeffmaury.com> on 2012/09/15 15:09:46 UTC

Problem with init-git-svn.sh

Hello,

since the move to TLP, I tried to reinstall the DM sources on my machine.
As git is nice for me in order to submit patches, I'm using git and I used
the shell script init-git-svn.sh
But I got the following error:

*MacBook-Pro-de-Jeff-MAURY:directmemory jeffmaury$ ./init-git-svn.sh
--21:56:43--  http://git.apache.org/authors.txt
           => `authors.txt'
Resolving git.apache.org... 192.87.106.249
Connecting to git.apache.org[192.87.106.249]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 162,892 [text/plain]

100%[====================================>] 162,892
199.07K/s

21:56:44 (198.47 KB/s) - `authors.txt' saved [162892/162892]

Using higher level of URL: https://svn.apache.org/repos/asf/directmemory =>
https://svn.apache.org/repos/asf
fatal: ambiguous argument 'HEAD': unknown revision or path not in the
working tree.
Use '--' to separate paths from revisions
log --no-color --no-decorate --first-parent --pretty=medium HEAD: command
returned error: 128
*
Here is the list of commands I run in order:

svn checkout https://svn.apache.org/repos/asf/directmemory/trunk/ directmemory


cd directmemory
git init
./init-git-svn.sh


I am missing something or something is broken since the move to TLP ?
Thanks
Jeff


-- 
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Re: Problem with init-git-svn.sh

Posted by Jeff MAURY <je...@jeffmaury.com>.
Thanks

Jeff


On Sat, Sep 15, 2012 at 7:39 PM, Olivier Lamy <ol...@apache.org> wrote:

> 2012/9/15 Jeff MAURY <je...@jeffmaury.com>:
> > Hello,
> >
> > since the move to TLP, I tried to reinstall the DM sources on my machine.
> > As git is nice for me in order to submit patches, I'm using git and I
> used
> > the shell script init-git-svn.sh
> > But I got the following error:
> >
> > *MacBook-Pro-de-Jeff-MAURY:directmemory jeffmaury$ ./init-git-svn.sh
> > --21:56:43--  http://git.apache.org/authors.txt
> >            => `authors.txt'
> > Resolving git.apache.org... 192.87.106.249
> > Connecting to git.apache.org[192.87.106.249]:80... connected.
> > HTTP request sent, awaiting response... 200 OK
> > Length: 162,892 [text/plain]
> >
> > 100%[====================================>] 162,892
> > 199.07K/s
> >
> > 21:56:44 (198.47 KB/s) - `authors.txt' saved [162892/162892]
> >
> > Using higher level of URL: https://svn.apache.org/repos/asf/directmemory=>
> > https://svn.apache.org/repos/asf
> > fatal: ambiguous argument 'HEAD': unknown revision or path not in the
> > working tree.
> > Use '--' to separate paths from revisions
> > log --no-color --no-decorate --first-parent --pretty=medium HEAD: command
> > returned error: 128
> > *
> > Here is the list of commands I run in order:
> >
> > svn checkout https://svn.apache.org/repos/asf/directmemory/trunk/directmemory
> >
> >
> > cd directmemory
> > git init
> > ./init-git-svn.sh
> Nope not correct, you must clone a git mirror first.
>
> git clone git://git.apache.org/directmemory.git (or
> git://github.com/apache/directmemory.git)
> cd directmemory
> sh ./init-git-svn.sh
>
> HTH
>
> >
> >
> > I am missing something or something is broken since the move to TLP ?
> > Thanks
> > Jeff
> >
> >
> > --
> > Jeff MAURY
> >
> >
> > "Legacy code" often differs from its suggested alternative by actually
> > working and scaling.
> >  - Bjarne Stroustrup
> >
> > http://www.jeffmaury.com
> > http://riadiscuss.jeffmaury.com
> > http://www.twitter.com/jeffmaury
>
>
>
> --
> Olivier Lamy
> Talend: http://coders.talend.com
> http://twitter.com/olamy | http://linkedin.com/in/olamy
>



-- 
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Re: Problem with init-git-svn.sh

Posted by Olivier Lamy <ol...@apache.org>.
2012/9/15 Jeff MAURY <je...@jeffmaury.com>:
> Hello,
>
> since the move to TLP, I tried to reinstall the DM sources on my machine.
> As git is nice for me in order to submit patches, I'm using git and I used
> the shell script init-git-svn.sh
> But I got the following error:
>
> *MacBook-Pro-de-Jeff-MAURY:directmemory jeffmaury$ ./init-git-svn.sh
> --21:56:43--  http://git.apache.org/authors.txt
>            => `authors.txt'
> Resolving git.apache.org... 192.87.106.249
> Connecting to git.apache.org[192.87.106.249]:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 162,892 [text/plain]
>
> 100%[====================================>] 162,892
> 199.07K/s
>
> 21:56:44 (198.47 KB/s) - `authors.txt' saved [162892/162892]
>
> Using higher level of URL: https://svn.apache.org/repos/asf/directmemory =>
> https://svn.apache.org/repos/asf
> fatal: ambiguous argument 'HEAD': unknown revision or path not in the
> working tree.
> Use '--' to separate paths from revisions
> log --no-color --no-decorate --first-parent --pretty=medium HEAD: command
> returned error: 128
> *
> Here is the list of commands I run in order:
>
> svn checkout https://svn.apache.org/repos/asf/directmemory/trunk/ directmemory
>
>
> cd directmemory
> git init
> ./init-git-svn.sh
Nope not correct, you must clone a git mirror first.

git clone git://git.apache.org/directmemory.git (or
git://github.com/apache/directmemory.git)
cd directmemory
sh ./init-git-svn.sh

HTH

>
>
> I am missing something or something is broken since the move to TLP ?
> Thanks
> Jeff
>
>
> --
> Jeff MAURY
>
>
> "Legacy code" often differs from its suggested alternative by actually
> working and scaling.
>  - Bjarne Stroustrup
>
> http://www.jeffmaury.com
> http://riadiscuss.jeffmaury.com
> http://www.twitter.com/jeffmaury



-- 
Olivier Lamy
Talend: http://coders.talend.com
http://twitter.com/olamy | http://linkedin.com/in/olamy