hgext/remotefilelog/shallowrepo.py
changeset 50928 d718eddf01d9
parent 48913 f254fc73d956
equal deleted inserted replaced
50927:7a8ea1397816 50928:d718eddf01d9
   338         b"remotefilelog", b"includepattern", None
   338         b"remotefilelog", b"includepattern", None
   339     )
   339     )
   340     repo.excludepattern = repo.ui.configlist(
   340     repo.excludepattern = repo.ui.configlist(
   341         b"remotefilelog", b"excludepattern", None
   341         b"remotefilelog", b"excludepattern", None
   342     )
   342     )
   343     if not util.safehasattr(repo, 'connectionpool'):
   343     if not hasattr(repo, 'connectionpool'):
   344         repo.connectionpool = connectionpool.connectionpool(repo)
   344         repo.connectionpool = connectionpool.connectionpool(repo)
   345 
   345 
   346     if repo.includepattern or repo.excludepattern:
   346     if repo.includepattern or repo.excludepattern:
   347         repo.shallowmatch = match.match(
   347         repo.shallowmatch = match.match(
   348             repo.root, b'', None, repo.includepattern, repo.excludepattern
   348             repo.root, b'', None, repo.includepattern, repo.excludepattern