Mercurial > public > mercurial-scm > hg
comparison mercurial/scmutil.py @ 18949:138978f20180
localrepo: use "vfs.islink()" instead of "os.path.islink()"
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Mon, 15 Apr 2013 01:22:15 +0900 |
parents | 2f05fa162316 |
children | 647e3b0c8751 |
comparison
equal
deleted
inserted
replaced
18948:2f05fa162316 | 18949:138978f20180 |
---|---|
239 def exists(self, path=None): | 239 def exists(self, path=None): |
240 return os.path.exists(self.join(path)) | 240 return os.path.exists(self.join(path)) |
241 | 241 |
242 def isdir(self, path=None): | 242 def isdir(self, path=None): |
243 return os.path.isdir(self.join(path)) | 243 return os.path.isdir(self.join(path)) |
244 | |
245 def islink(self, path=None): | |
246 return os.path.islink(self.join(path)) | |
244 | 247 |
245 def makedir(self, path=None, notindexed=True): | 248 def makedir(self, path=None, notindexed=True): |
246 return util.makedir(self.join(path), notindexed) | 249 return util.makedir(self.join(path), notindexed) |
247 | 250 |
248 def makedirs(self, path=None, mode=None): | 251 def makedirs(self, path=None, mode=None): |