changeset 3859 | 8c24b6fd5866 |
parent 3854 | 4f6db0233606 |
child 3860 | 8e907b86126b |
--- a/mercurial/util.py Sun Dec 10 16:24:21 2006 +0100 +++ b/mercurial/util.py Sun Dec 10 19:41:57 2006 +0100 @@ -902,7 +902,7 @@ The return value of a util.fstat(f) may be passed as the st argument. """ if st is None: - st = fstat(f) + st = fstat(fp) return st.st_uid == os.getuid() def _buildencodefun():