--- a/tests/test-narrow-expanddirstate.t Sat Dec 29 23:09:07 2018 -0800
+++ b/tests/test-narrow-expanddirstate.t Sat Dec 29 23:40:18 2018 -0800
@@ -71,6 +71,7 @@
> if not repo.currenttransaction():
> ui.develwarn(b'expandnarrowspec called outside of transaction!')
> repo.setnarrowpats(includes, excludes)
+ > narrowspec.copytoworkingcopy(repo)
> newmatcher = narrowspec.match(repo.root, includes, excludes)
> added = matchmod.differencematcher(newmatcher, currentmatcher)
> for f in repo[b'.'].manifest().walk(added):