equal
deleted
inserted
replaced
344 # append directory separator to avoid collisions |
344 # append directory separator to avoid collisions |
345 if not fstandin.endswith(os.sep): |
345 if not fstandin.endswith(os.sep): |
346 fstandin += os.sep |
346 fstandin += os.sep |
347 |
347 |
348 # prevalidate matching standin directories |
348 # prevalidate matching standin directories |
349 if lfutil.any_(st for st in match._files |
349 if util.any(st for st in match._files |
350 if st.startswith(fstandin)): |
350 if st.startswith(fstandin)): |
351 continue |
351 continue |
352 actualfiles.append(f) |
352 actualfiles.append(f) |
353 match._files = actualfiles |
353 match._files = actualfiles |
354 |
354 |
398 newbranch) |
398 newbranch) |
399 |
399 |
400 repo.__class__ = lfiles_repo |
400 repo.__class__ = lfiles_repo |
401 |
401 |
402 def checkrequireslfiles(ui, repo, **kwargs): |
402 def checkrequireslfiles(ui, repo, **kwargs): |
403 if 'largefiles' not in repo.requirements and lfutil.any_( |
403 if 'largefiles' not in repo.requirements and util.any( |
404 lfutil.shortname+'/' in f[0] for f in repo.store.datafiles()): |
404 lfutil.shortname+'/' in f[0] for f in repo.store.datafiles()): |
405 repo.requirements.add('largefiles') |
405 repo.requirements.add('largefiles') |
406 repo._writerequirements() |
406 repo._writerequirements() |
407 |
407 |
408 checkrequireslfiles(ui, repo) |
408 checkrequireslfiles(ui, repo) |