[git-users] Re: git svn init throws Not a git repository (or any of the parent directories): .git

2013-02-18 Thread Ace McCloud


>  You can also pass in --revision to git clone, I believe.
>
Oh. That was helpful. Got first few revisions and fetching rest using:

git svn fetch --revision

Thank You. :)


-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[git-users] Re: git svn init throws Not a git repository (or any of the parent directories): .git

2013-02-14 Thread Thomas Ferris Nicolaisen
On Wednesday, February 13, 2013 10:46:59 PM UTC+1, Ace McCloud wrote:

> Hi all,
>
> I have problem with git svn init:
> When I executegit svn init svn+ssh://username[at]example.com/path/repo
> I see:fatal: Not a git repository (or any of the parent directories): .git
> Already at toplevel, but .git not found
>  at /usr/lib/git-core/git-svn line 342
>
> But when I execute:git svn clone svn+ssh://username[at]example.com/path/repo
> Everything is ok and I see:Initialized empty Git repository in 
> */tmp/svn_migration/repo/*.git/
>
> Any hints why it's no working?
> I prefer to do first init and then fetch, because I can fetch selected
> revisions (git svn fetch --revision 1:1000) - so it's easier for me to
> split migration into groups lets say 1000 revision at once.
>
> My software versions:git version 1.8.1.1
>
> svn, version 1.6.12 (r955767)
>compiled Feb 17 2012, 10:36:45
>
> Best regards.
>
>
 You can also pass in --revision to git clone, I believe.

I don't know why svn init doesn't work for you. The same command (with a 
https url) works for me with all of git 1.8.0, 1.8.1.2 and 1.7.9.5.

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.