bzr-git ssh

John Arbash Meinel john at arbash-meinel.com
Sat Feb 28 03:45:10 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Eric Anderson wrote:
> I am trying to create a bzr branch of a git repo. Using the bzr-git
> plugin seems to work well with repos like on GitHub. But recently tried
> connecting to a repo hosted by Heroku (a Rails host). I believe they are
> using SSH to communicate instead of git's native protocol (I am guessing
> for authentication). Not getting much luck and my knowledge of bzr, git
> and python are all very limited.
> 
> The repo URI they provide looks something like git at heroku.com:myapp.git
> You can see more info in their docs at http://heroku.com/docs/index.html.
> 
> Since it wasn't working I am just assuming that bzr-git does not yet
> support this type of transport. I assume when it eventually does I will
> need to do something like:
> 
> bzr branch git+ssh://git@heroku.com:myapp.git myapp
> 
> I am fine if it just isn't there yet. But just want to make sure I
> didn't miss anything.
> 
> Thanks for any advice.
> 
> Eric

I would expect it to be:
  bzr branch git+ssh://git@heroku.com/myapp.git myapp
                                     ^- / not :

Because that is generally how URLs are formed

protocol://user:password@host:port/path

ssh Non-urls tend to be:

  user at host:path

Which looks like what you are seeing for the original git path.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmos0UACgkQJdeBCYSNAAOtQgCgyS0HK1hSf/2nee2MC5s9peXv
+Z4AniL5m3yGXOBWr2SYKlMy/Gn3ZtMS
=LTHt
-----END PGP SIGNATURE-----



More information about the bazaar mailing list