equal
deleted
inserted
replaced
1877 |
1877 |
1878 This function returns an iterator yielding contexts. Before |
1878 This function returns an iterator yielding contexts. Before |
1879 yielding each context, the iterator will first call the prepare |
1879 yielding each context, the iterator will first call the prepare |
1880 function on each context in the window in forward order.''' |
1880 function on each context in the window in forward order.''' |
1881 |
1881 |
1882 allfiles = opts.get('allfiles') |
1882 allfiles = opts.get('all_files') |
1883 follow = opts.get('follow') or opts.get('follow_first') |
1883 follow = opts.get('follow') or opts.get('follow_first') |
1884 revs = _walkrevs(repo, opts) |
1884 revs = _walkrevs(repo, opts) |
1885 if not revs: |
1885 if not revs: |
1886 return [] |
1886 return [] |
1887 if allfiles and len(revs) > 1: |
1887 if allfiles and len(revs) > 1: |
1888 raise error.Abort(_("multiple revisions not supported with --allfiles")) |
1888 raise error.Abort(_("multiple revisions not supported with " |
|
1889 "--all-files")) |
1889 wanted = set() |
1890 wanted = set() |
1890 slowpath = match.anypats() or (not match.always() and opts.get('removed')) |
1891 slowpath = match.anypats() or (not match.always() and opts.get('removed')) |
1891 fncache = {} |
1892 fncache = {} |
1892 change = repo.__getitem__ |
1893 change = repo.__getitem__ |
1893 |
1894 |