Show More
@@ -402,11 +402,7 b' def reposetup(ui, repo):' | |||||
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 lfutil.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 | # workaround bug in Mercurial 1.9 whereby requirements is |
|
405 | repo.requirements.add('largefiles') | |
406 | # a list on newly-cloned repos |
|
|||
407 | repo.requirements = set(repo.requirements) |
|
|||
408 |
|
||||
409 | repo.requirements |= set(['largefiles']) |
|
|||
410 | repo._writerequirements() |
|
406 | repo._writerequirements() | |
411 |
|
407 | |||
412 | checkrequireslfiles(ui, repo) |
|
408 | checkrequireslfiles(ui, repo) |
General Comments 0
You need to be logged in to leave comments.
Login now