equal
deleted
inserted
replaced
72 fns, which changed during revision rev - use to gather data for |
72 fns, which changed during revision rev - use to gather data for |
73 possible display |
73 possible display |
74 |
74 |
75 "iter", rev, None: in-order traversal of the revs earlier iterated |
75 "iter", rev, None: in-order traversal of the revs earlier iterated |
76 over with "add" - use to display data''' |
76 over with "add" - use to display data''' |
|
77 |
|
78 if repo.changelog.count() == 0: |
|
79 return [], False |
|
80 |
77 cwd = repo.getcwd() |
81 cwd = repo.getcwd() |
78 if not pats and cwd: |
82 if not pats and cwd: |
79 opts['include'] = [os.path.join(cwd, i) for i in opts['include']] |
83 opts['include'] = [os.path.join(cwd, i) for i in opts['include']] |
80 opts['exclude'] = [os.path.join(cwd, x) for x in opts['exclude']] |
84 opts['exclude'] = [os.path.join(cwd, x) for x in opts['exclude']] |
81 files, matchfn, anypats = matchpats(repo, (pats and cwd) or '', |
85 files, matchfn, anypats = matchpats(repo, (pats and cwd) or '', |
1053 |
1057 |
1054 fstate = {} |
1058 fstate = {} |
1055 skip = {} |
1059 skip = {} |
1056 changeiter, getchange = walkchangerevs(ui, repo, repo.getcwd(), pats, opts) |
1060 changeiter, getchange = walkchangerevs(ui, repo, repo.getcwd(), pats, opts) |
1057 count = 0 |
1061 count = 0 |
|
1062 incrementing = False |
1058 for st, rev, fns in changeiter: |
1063 for st, rev, fns in changeiter: |
1059 if st == 'window': |
1064 if st == 'window': |
1060 incrementing = rev |
1065 incrementing = rev |
1061 matches.clear() |
1066 matches.clear() |
1062 elif st == 'add': |
1067 elif st == 'add': |