Mercurial > public > mercurial-scm > hg-stable
diff mercurial/archival.py @ 28017:d3f1b7ee5e70
match: rename "narrowmatcher" to "subdirmatcher" (API)
I keep mistaking "narrowmatcher" for narrowhg's
narrowmatcher. "subdirmatcher" seems more to the point anyway.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 05 Feb 2016 21:09:32 -0800 |
parents | 56b2bcea2529 |
children | 86db5cb55d46 |
line wrap: on
line diff
--- a/mercurial/archival.py Wed Feb 03 18:59:35 2016 +0000 +++ b/mercurial/archival.py Fri Feb 05 21:09:32 2016 -0800 @@ -331,7 +331,7 @@ if subrepos: for subpath in sorted(ctx.substate): sub = ctx.workingsub(subpath) - submatch = matchmod.narrowmatcher(subpath, matchfn) + submatch = matchmod.subdirmatcher(subpath, matchfn) total += sub.archive(archiver, prefix, submatch) if total == 0: