> --
> To unsubscribe, email
repo-discuss...@googlegroups.com
> More info at
http://groups.google.com/group/repo-discuss?hl=en
I had some success using g...@github.com:myproject/ by setting .ssh/config :
Host
github.com
User git
Port 22
Hostname
github.com
IdentityFile ~/.ssh/id_rsa.pub
IdentitiesOnly yes
but it fails with the error :
/home/benoitc/bin/repo --trace sync
: git config --file
/home/benoitc/myproject/someapp/.repo/manifests.git/config --null
--list 1>| 2>|
: unpickle /home/benoitc/.gitconfig
: git config --file
/home/benoitc/myproject/someapp/.repo/repo/.git/config --null --list
1>| 2>|
: ssh -o ControlPath /tmp/ssh-uJTh31/master-%r@%h:%p
g...@github.com -O check
: ssh -M -N -o ControlPath /tmp/ssh-uJTh31/master-%r@%h:%p
g...@github.com
: export GIT_DIR=/home/benoitc/myproject/someapp/.repo/manifests.git
: git fetch origin --tags +refs/heads/*:refs/remotes/origin/*
: load refs /home/benoitc/myproject/someapp/.repo/manifests.git
: git symbolic-ref -m manifest set to refs/heads/master
refs/remotes/m/master refs/remotes/origin/master 1>| 2>|
: scan refs /home/benoitc/myproject/someapp/.repo/manifests.git
: export GIT_DIR=/home/benoitc/myproject/someapp/.repo/projects/someapp.git
: git init 1>| 2>|
: git config --file
/home/benoitc/myproject/someapp/.repo/projects/someapp.git/config
--null --list 1>| 2>|
: git config --file
/home/benoitc/myproject/someapp/.repo/projects/someapp.git/config
--unset-all core.bare 1>| 2>|
: git config --file
/home/benoitc/myproject/someapp/.repo/projects/someapp.git/config
--replace-all remote.myproject.url
g...@github.com:Spotme/g...@github.com:Spotme/someapp 1>| 2>|
: git config --file
/home/benoitc/myproject/someapp/.repo/projects/someapp.git/config
--replace-all remote.myproject.projectname someapp 1>| 2>|
: git config --file
/home/benoitc/myproject/someapp/.repo/projects/someapp.git/config
--replace-all remote.myproject.fetch
+refs/heads/*:refs/remotes/myproject/* 1>| 2>|
: git fetch myproject --tags +refs/heads/*:refs/remotes/myproject/*
ERROR: Repository invalid.
fatal: The remote end hung up unexpectedly
When I look in
/home/benoitc/myproject/someapp/.repo/projects/someapp.git/config I
see:
[core]
repositoryformatversion = 0
filemode = true
[remote "myproject"]
url = g...@github.com:myproject/g...@github.com:myproject/someapp
projectname = someapp
fetch = +refs/heads/*:refs/remotes/myproject/*
The url is wrong. Seems like the remote uri have been put twice. Any idea ?
- benoit