Hang at commit time when using sftp or bzr+ssh
John Arbash Meinel
john at arbash-meinel.com
Wed Dec 7 17:03:39 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/7/2011 5:22 PM, Stephen AuYeung wrote:
> One suggestion on the ControlMaster setting: Could bzr use the “-S
> none” option when invoking ssh to disable connection sharing? This
> way, it will not be depending on client settings.
>
>
>
> Thanks,
>
> Stephen
*usually* bzr should use connection sharing if someone has set it up,
because then we don't have to do the connection handshake for every
bzr operation.
I don't know why it isn't working for you, but we really wouldn't want
to use -S none ourselves. (I know of at least one person who is using
it quite happily.)
One option would be to create a Host entry in your ssh_config file
that would be specific to bzr. Something like:
Host bzr-foo
Hostname real-name.com
ControlMaster None # or whatever the setting is
And then for bzr instead of doing:
bzr branch bzr+ssh://real-name.com/path
you would do
bzr branch bzr+ssh://bzr-foo/path
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk7fnGsACgkQJdeBCYSNAANQMwCgwfiN0vx326hZVCURMibyovz0
rgAAnRxcpIbBG4QwDJquKgqHkE6KGbbc
=jzeh
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list