Show More
@@ -523,12 +523,11 b' def _readrequires(vfs, allowmissing):' | |||
|
523 | 523 | # which means very old repositories may not have one. We assume |
|
524 | 524 | # a missing file translates to no requirements. |
|
525 | 525 | try: |
|
526 |
re |
|
|
526 | return set(vfs.read(b'requires').splitlines()) | |
|
527 | 527 | except FileNotFoundError: |
|
528 | 528 | if not allowmissing: |
|
529 | 529 | raise |
|
530 |
re |
|
|
531 | return requirements | |
|
530 | return set() | |
|
532 | 531 | |
|
533 | 532 | |
|
534 | 533 | def makelocalrepository(baseui, path, intents=None): |
General Comments 0
You need to be logged in to leave comments.
Login now