On Wed, 14 Feb 2018 14:15:21 +0100, Denis Laxalde wrote: > # HG changeset patch > # User Denis Laxalde <denis.laxa...@logilab.fr> > # Date 1518613925 -3600 > # Wed Feb 14 14:12:05 2018 +0100 > # Node ID 6b505da3e8351e945b0e71a65870cbe2578b99ae > # Parent 75a4598a4375d80d240c19625e2c43a069ba9618 > # Available At http://hg.logilab.org/users/dlaxalde/hg > # hg pull http://hg.logilab.org/users/dlaxalde/hg -r 6b505da3e835 > # EXP-Topic revert-interactive-pats > revert: use an exact matcher in interactive diff selection (issue5789)
Queued, thanks. > - torevert = [repo.wjoin(f) for f in actions['revert'][0]] > - m = scmutil.match(ctx, torevert, matcher_opts) > + torevert = (f for f in actions['revert'][0] if f not in > excluded_files) Changed this to a list, which is probably safer than passing an iterator to matchmod. > + m = scmutil.matchfiles(repo, torevert) _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel