comparison mercurial/pathutil.py @ 30332:318a24b52eeb

spelling: fixes of non-dictionary words
author Mads Kiilerich <madski@unity3d.com>
date Mon, 17 Oct 2016 23:16:55 +0200
parents 6f447b9ec263
children cfe66dcf45c0
comparison
equal deleted inserted replaced
30331:b19291e5d506 30332:318a24b52eeb
82 82
83 parts.pop() 83 parts.pop()
84 normparts.pop() 84 normparts.pop()
85 prefixes = [] 85 prefixes = []
86 # It's important that we check the path parts starting from the root. 86 # It's important that we check the path parts starting from the root.
87 # This means we won't accidentaly traverse a symlink into some other 87 # This means we won't accidentally traverse a symlink into some other
88 # filesystem (which is potentially expensive to access). 88 # filesystem (which is potentially expensive to access).
89 for i in range(len(parts)): 89 for i in range(len(parts)):
90 prefix = os.sep.join(parts[:i + 1]) 90 prefix = os.sep.join(parts[:i + 1])
91 normprefix = os.sep.join(normparts[:i + 1]) 91 normprefix = os.sep.join(normparts[:i + 1])
92 if normprefix in self.auditeddir: 92 if normprefix in self.auditeddir: