robustiy some randomly failing tests

--HG--
branch : trunk
This commit is contained in:
holger krekel
2009-12-29 12:36:45 +01:00
parent 425e4849f3
commit 71e332c9c4
4 changed files with 6 additions and 3 deletions

View File

@@ -429,6 +429,7 @@ class SvnWCCommandPath(common.PathBase):
return self
strpath = property(lambda x: str(x.localpath), None, None, "string path")
rev = property(lambda x: x.info(usecache=0).rev, None, None, "revision")
def __eq__(self, other):
return self.localpath == getattr(other, 'localpath', None)
@@ -796,7 +797,6 @@ recursively. """
raise py.error.ENOENT(self, "not a versioned resource:" +
" %s != %s" % (info.path, self.localpath))
cache.info[self] = info
self.rev = info.rev
return info
def listdir(self, fil=None, sort=None):