comparison hgext/largefiles/overrides.py @ 26781:1aee2ab0f902

spelling: trivial spell checking
author Mads Kiilerich <madski@unity3d.com>
date Sat, 17 Oct 2015 00:58:46 +0200
parents 45a6233d5f50
children fa2daf0e61ab
comparison
equal deleted inserted replaced
26780:bbf544b5f2e9 26781:1aee2ab0f902
322 if m._cwd: 322 if m._cwd:
323 hglf = lfutil.shortname 323 hglf = lfutil.shortname
324 back = util.pconvert(m.rel(hglf)[:-len(hglf)]) 324 back = util.pconvert(m.rel(hglf)[:-len(hglf)])
325 325
326 def tostandin(f): 326 def tostandin(f):
327 # The file may already be a standin, so trucate the back 327 # The file may already be a standin, so truncate the back
328 # prefix and test before mangling it. This avoids turning 328 # prefix and test before mangling it. This avoids turning
329 # 'glob:../.hglf/foo*' into 'glob:../.hglf/../.hglf/foo*'. 329 # 'glob:../.hglf/foo*' into 'glob:../.hglf/../.hglf/foo*'.
330 if f.startswith(back) and lfutil.splitstandin(f[len(back):]): 330 if f.startswith(back) and lfutil.splitstandin(f[len(back):]):
331 return f 331 return f
332 332