hgext/remotefilelog/shallowrepo.py
changeset 43115 4aa72cdf616f
parent 43105 649d3ac37a12
child 43849 63bb6dc62f24
equal deleted inserted replaced
43114:8197b395710e 43115:4aa72cdf616f
   343         b"remotefilelog", b"includepattern", None
   343         b"remotefilelog", b"includepattern", None
   344     )
   344     )
   345     repo.excludepattern = repo.ui.configlist(
   345     repo.excludepattern = repo.ui.configlist(
   346         b"remotefilelog", b"excludepattern", None
   346         b"remotefilelog", b"excludepattern", None
   347     )
   347     )
   348     if not util.safehasattr(repo, b'connectionpool'):
   348     if not util.safehasattr(repo, 'connectionpool'):
   349         repo.connectionpool = connectionpool.connectionpool(repo)
   349         repo.connectionpool = connectionpool.connectionpool(repo)
   350 
   350 
   351     if repo.includepattern or repo.excludepattern:
   351     if repo.includepattern or repo.excludepattern:
   352         repo.shallowmatch = match.match(
   352         repo.shallowmatch = match.match(
   353             repo.root, b'', None, repo.includepattern, repo.excludepattern
   353             repo.root, b'', None, repo.includepattern, repo.excludepattern