equal
deleted
inserted
replaced
482 def unixpath(path): |
482 def unixpath(path): |
483 return os.path.normpath(path).replace(os.sep, '/') |
483 return os.path.normpath(path).replace(os.sep, '/') |
484 |
484 |
485 def islfilesrepo(repo): |
485 def islfilesrepo(repo): |
486 return ('largefiles' in repo.requirements and |
486 return ('largefiles' in repo.requirements and |
487 any_(shortname + '/' in f[0] for f in repo.store.datafiles()) |
487 any_(shortname + '/' in f[0] for f in repo.store.datafiles())) |
488 |
488 |
489 def any_(gen): |
489 def any_(gen): |
490 for x in gen: |
490 for x in gen: |
491 if x: |
491 if x: |
492 return True |
492 return True |