New standalone Windows release

Maquelin, Olivier olivier.maquelin at
Fri Sep 23 11:31:27 CDT 2005

> -----Original Message-----
> From: mercurial-bounces at 
> [mailto:mercurial-bounces at] On Behalf Of Maquelin, Olivier
> Sent: Friday, September 23, 2005 8:17 AM
> To: Zbynek Winkler; mercurial at
> Subject: RE: New standalone Windows release
> ssh is interpreting the entire part in single quotes as a command name
> instead of breaking it up into a command name plus arguments. Removing
> the single quotes helps, but the pull command ends up 
> hanging, as others
> have also observed...

It looks like the pull command hangs because the pipe through ssh is
opened in text mode (which is the default under Windows). This can be
fixed by changing the popen3 call in sshrepo.sshrepository() to:
	self.pipeo, self.pipei, self.pipee = os.popen3(cmd, 'b')

Of course, that extra 'b' mode argument is only needed on the Windows

-- Olivier

More information about the Mercurial mailing list