示例#1
0
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
示例#2
0
 def d():
     repo.invalidatevolatilesets()
     if opts["clear_obsstore"]:
         clearfilecache(repo, "obsstore")
     repoview.filterrevs(repo, name)