--- a/mercurial/ui.py Sat May 30 23:20:30 2009 +0200
+++ b/mercurial/ui.py Sat May 30 23:42:35 2009 +0200
@@ -40,7 +40,7 @@
def _is_trusted(self, fp, f):
st = util.fstat(fp)
- if util.isowner(fp, st):
+ if util.isowner(st):
return True
tusers, tgroups = self._trustusers, self._trustgroups