diff --git a/hgext/infinitepush/__init__.py b/hgext/infinitepush/__init__.py --- a/hgext/infinitepush/__init__.py +++ b/hgext/infinitepush/__init__.py @@ -791,24 +791,6 @@ def _pull(orig, ui, repo, source="defaul opts['bookmark'] = bookmarks opts['rev'] = revs - try: - inhibitmod = extensions.find('inhibit') - except KeyError: - # Ignore if inhibit is not enabled - pass - else: - # Pulling revisions that were filtered results in a error. - # Let's inhibit them - unfi = repo.unfiltered() - for rev in opts.get('rev', []): - try: - repo[rev] - except error.FilteredRepoLookupError: - node = unfi[rev].node() - inhibitmod.revive([repo.unfiltered()[node]]) - except error.RepoLookupError: - pass - if scratchbookmarks or unknownnodes: # Set anyincoming to True extensions.wrapfunction(discovery, 'findcommonincoming',