Mercurial > public > mercurial-scm > hg-stable
diff mercurial/sshrepo.py @ 2177:6886bc0b77af
merge with crew.
author | Vadim Gelfer <vadim.gelfer@gmail.com> |
---|---|
date | Tue, 02 May 2006 14:37:55 -0700 |
parents | 9b42304d9896 |
children | 332950340788 |
line wrap: on
line diff
--- a/mercurial/sshrepo.py Mon May 01 19:17:34 2006 +0200 +++ b/mercurial/sshrepo.py Tue May 02 14:37:55 2006 -0700 @@ -9,7 +9,7 @@ from remoterepo import * from i18n import gettext as _ from demandload import * -demandload(globals(), "hg os re stat") +demandload(globals(), "hg os re stat util") class sshrepository(remoterepository): def __init__(self, ui, path): @@ -57,7 +57,7 @@ def readerr(self): while 1: - size = os.fstat(self.pipee.fileno())[stat.ST_SIZE] + size = util.fstat(self.pipee).st_size if size == 0: break l = self.pipee.readline() if not l: break