hgext/narrow/narrowcommands.py
changeset 36469 28c7f580360b
parent 36468 6aae86976324
child 38528 a1d5951efce7
equal deleted inserted replaced
36468:6aae86976324 36469:28c7f580360b
    86             if not includepats and excludepats:
    86             if not includepats and excludepats:
    87                 # If nothing was included, we assume the user meant to include
    87                 # If nothing was included, we assume the user meant to include
    88                 # everything, except what they asked to exclude.
    88                 # everything, except what they asked to exclude.
    89                 includepats = {'path:.'}
    89                 includepats = {'path:.'}
    90 
    90 
    91             narrowspec.save(pullop.repo, includepats, excludepats)
    91             pullop.repo.setnarrowpats(includepats, excludepats)
    92 
    92 
    93             # This will populate 'includepats' etc with the values from the
    93             # This will populate 'includepats' etc with the values from the
    94             # narrowspec we just saved.
    94             # narrowspec we just saved.
    95             orig(pullop, kwargs)
    95             orig(pullop, kwargs)
    96 
    96