equal
deleted
inserted
replaced
553 r = repo.unfiltered().changelog |
553 r = repo.unfiltered().changelog |
554 elif dir: |
554 elif dir: |
555 if 'treemanifest' not in repo.requirements: |
555 if 'treemanifest' not in repo.requirements: |
556 raise error.Abort(_("--dir can only be used on repos with " |
556 raise error.Abort(_("--dir can only be used on repos with " |
557 "treemanifest enabled")) |
557 "treemanifest enabled")) |
558 dirlog = repo.manifest.dirlog(dir) |
558 dirlog = repo.manifestlog._revlog.dirlog(dir) |
559 if len(dirlog): |
559 if len(dirlog): |
560 r = dirlog |
560 r = dirlog |
561 elif mf: |
561 elif mf: |
562 r = repo.manifest |
562 r = repo.manifest |
563 elif file_: |
563 elif file_: |