equal
deleted
inserted
replaced
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): |