mercurial/hg.py
changeset 41229 50ca531f1f24
parent 41043 ce0bc2952e2a
child 41236 44a51c1c8e17
--- a/mercurial/hg.py	Sat Dec 29 22:34:38 2018 -0800
+++ b/mercurial/hg.py	Sat Dec 29 23:01:12 2018 -0800
@@ -334,7 +334,7 @@
         destrepo.vfs.write('hgrc', util.tonativeeol(template % default))
     if repositorymod.NARROW_REQUIREMENT in sourcerepo.requirements:
         with destrepo.wlock():
-            narrowspec.copytoworkingcopy(destrepo, None)
+            narrowspec.copytoworkingcopy(destrepo)
 
 def _postshareupdate(repo, update, checkout=None):
     """Maybe perform a working directory update after a shared repo is created.