1170 repo.lfstatus = True |
1170 repo.lfstatus = True |
1171 orig(ui, repo, *pats, **opts) |
1171 orig(ui, repo, *pats, **opts) |
1172 finally: |
1172 finally: |
1173 repo.lfstatus = False |
1173 repo.lfstatus = False |
1174 |
1174 |
1175 def scmutiladdremove(orig, repo, matcher, prefix, opts={}, dry_run=None, |
1175 def scmutiladdremove(orig, repo, matcher, prefix, opts=None, dry_run=None, |
1176 similarity=None): |
1176 similarity=None): |
|
1177 if opts is None: |
|
1178 opts = {} |
1177 if not lfutil.islfilesrepo(repo): |
1179 if not lfutil.islfilesrepo(repo): |
1178 return orig(repo, matcher, prefix, opts, dry_run, similarity) |
1180 return orig(repo, matcher, prefix, opts, dry_run, similarity) |
1179 # Get the list of missing largefiles so we can remove them |
1181 # Get the list of missing largefiles so we can remove them |
1180 lfdirstate = lfutil.openlfdirstate(repo.ui, repo) |
1182 lfdirstate = lfutil.openlfdirstate(repo.ui, repo) |
1181 unsure, s = lfdirstate.status(match_.always(repo.root, repo.getcwd()), [], |
1183 unsure, s = lfdirstate.status(match_.always(repo.root, repo.getcwd()), [], |