comparison hgext/largefiles/overrides.py @ 23139:e53f6b72a0e4

spelling: fixes from proofreading of spell checker issues
author Mads Kiilerich <madski@unity3d.com>
date Thu, 17 Apr 2014 22:47:38 +0200
parents a36625ef1f35
children 55325a327754
comparison
equal deleted inserted replaced
23136:6eab50a34fed 23139:e53f6b72a0e4
61 scmutil.matchandpats = f 61 scmutil.matchandpats = f
62 return oldmatchandpats 62 return oldmatchandpats
63 63
64 def restorematchandpatsfn(): 64 def restorematchandpatsfn():
65 '''restores scmutil.matchandpats to what it was before 65 '''restores scmutil.matchandpats to what it was before
66 installnormalfilesmatchandpatsfn was called. no-op if scmutil.matchandpats 66 installmatchandpatsfn was called. No-op if scmutil.matchandpats
67 is its original function. 67 is its original function.
68 68
69 Note that n calls to installnormalfilesmatchandpatsfn will require n calls 69 Note that n calls to installmatchandpatsfn will require n calls
70 to restore matchfn to reverse''' 70 to restore matchfn to reverse'''
71 scmutil.matchandpats = getattr(scmutil.matchandpats, 'oldmatchandpats', 71 scmutil.matchandpats = getattr(scmutil.matchandpats, 'oldmatchandpats',
72 scmutil.matchandpats) 72 scmutil.matchandpats)
73 73
74 def addlargefiles(ui, repo, *pats, **opts): 74 def addlargefiles(ui, repo, *pats, **opts):