Patchwork [7,of,9,V3] repoview: add _gethiddenblockers method

login
register
mail settings
Submitter Sean Farley
Date March 28, 2014, 10:06 p.m.
Message ID <ee7162b508580c2b60db.1396044365@laptop.local>
Download mbox | patch
Permalink /patch/4115/
State Superseded
Commit b0822c23e80a0460fddd278a99a5593a7984fae3
Headers show

Comments

Sean Farley - March 28, 2014, 10:06 p.m.
# HG changeset patch
# User Sean Farley <sean.michael.farley@gmail.com>
# Date 1396027877 18000
#      Fri Mar 28 12:31:17 2014 -0500
# Node ID ee7162b508580c2b60db9b7d5e4d71c2818a70d7
# Parent  71c5c07db06f3182d144805a580816727acaab9a
repoview: add _gethiddenblockers method

This is a standalone function that will provide the ability for extensions to
wrap.

Patch

diff --git a/mercurial/repoview.py b/mercurial/repoview.py
--- a/mercurial/repoview.py
+++ b/mercurial/repoview.py
@@ -16,10 +16,16 @@  def hideablerevs(repo):
     """Revisions candidates to be hidden
 
     This is a standalone function to help extensions to wrap it."""
     return obsolete.getrevs(repo, 'obsolete')
 
+def _gethiddenblockers(repo):
+    """Get revisions that will block hidden changesets from being filtered
+
+    This is a standalone function to help extensions to wrap it."""
+    pass
+
 def computehidden(repo):
     """compute the set of hidden revision to filter
 
     During most operation hidden should be filtered."""
     assert not repo.changelog.filteredrevs