[PATCH 5 of 7 V2] repoview: add _gethiddenblockers method

Sean Farley sean.michael.farley at gmail.com
Fri Mar 28 12:53:19 CDT 2014


# HG changeset patch
# User Sean Farley <sean.michael.farley at gmail.com>
# Date 1396027877 18000
#      Fri Mar 28 12:31:17 2014 -0500
# Node ID fa7dce37aac4aaed22ba58a5a86ed886ed5e3a93
# Parent  2b99277c3954019bc2afdb2940834b968e8137e5
repoview: add _gethiddenblockers method

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

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


More information about the Mercurial-devel mailing list