comparison mercurial/copies.py @ 26781:1aee2ab0f902

spelling: trivial spell checking
author Mads Kiilerich <madski@unity3d.com>
date Sat, 17 Oct 2015 00:58:46 +0200
parents df66736a128e
children 602add6ad9e5
comparison
equal deleted inserted replaced
26780:bbf544b5f2e9 26781:1aee2ab0f902
239 239
240 def _makegetfctx(ctx): 240 def _makegetfctx(ctx):
241 """return a 'getfctx' function suitable for checkcopies usage 241 """return a 'getfctx' function suitable for checkcopies usage
242 242
243 We have to re-setup the function building 'filectx' for each 243 We have to re-setup the function building 'filectx' for each
244 'checkcopies' to ensure the linkrev adjustement is properly setup for 244 'checkcopies' to ensure the linkrev adjustment is properly setup for
245 each. Linkrev adjustment is important to avoid bug in rename 245 each. Linkrev adjustment is important to avoid bug in rename
246 detection. Moreover, having a proper '_ancestrycontext' setup ensures 246 detection. Moreover, having a proper '_ancestrycontext' setup ensures
247 the performance impact of this adjustment is kept limited. Without it, 247 the performance impact of this adjustment is kept limited. Without it,
248 each file could do a full dag traversal making the time complexity of 248 each file could do a full dag traversal making the time complexity of
249 the operation explode (see issue4537). 249 the operation explode (see issue4537).