equal
deleted
inserted
replaced
1828 and file patterns or None, and used to filter 'revs'. If --stat or |
1828 and file patterns or None, and used to filter 'revs'. If --stat or |
1829 --patch are not passed filematcher is None. Otherwise it is a |
1829 --patch are not passed filematcher is None. Otherwise it is a |
1830 callable taking a revision number and returning a match objects |
1830 callable taking a revision number and returning a match objects |
1831 filtering the files to be detailed when displaying the revision. |
1831 filtering the files to be detailed when displaying the revision. |
1832 """ |
1832 """ |
1833 if not len(repo): |
|
1834 return [], None, None |
|
1835 limit = loglimit(opts) |
1833 limit = loglimit(opts) |
1836 # Default --rev value depends on --follow but --follow behaviour |
1834 # Default --rev value depends on --follow but --follow behaviour |
1837 # depends on revisions resolved from --rev... |
1835 # depends on revisions resolved from --rev... |
1838 follow = opts.get('follow') or opts.get('follow_first') |
1836 follow = opts.get('follow') or opts.get('follow_first') |
1839 possiblyunsorted = False # whether revs might need sorting |
1837 possiblyunsorted = False # whether revs might need sorting |