changeset 19903 | ca875b271ac3 |
parent 19177 | 1e104aaa4c44 |
child 20879 | cd03854a2e06 |
--- a/mercurial/store.py Tue Oct 15 00:51:05 2013 +0900 +++ b/mercurial/store.py Tue Oct 15 00:51:05 2013 +0900 @@ -344,12 +344,12 @@ '''Checks if the store contains path''' path = "/".join(("data", path)) # file? - if os.path.exists(self.join(path + ".i")): + if self.vfs.exists(path + ".i"): return True # dir? if not path.endswith("/"): path = path + "/" - return os.path.exists(self.join(path)) + return self.vfs.exists(path) class encodedstore(basicstore): def __init__(self, path, vfstype):