def _computehidden(repo): hidden = repoview.filterrevs(repo, "visible") dynamic = hidden & repo._explicitaccess if dynamic: unfi = repo.unfiltered() # Explicitly disable revnum deprecation warnings. with repo.ui.configoverride({("devel", "legacy.revnum:real"): ""}): blocked = set(unfi.revs("(not public()) & ::%ld", dynamic)) hidden -= blocked return hidden
def d(): repo.invalidatevolatilesets() if opts["clear_obsstore"]: clearfilecache(repo, "obsstore") repoview.filterrevs(repo, name)