mercurial/obsolete.py
changeset 26287 5c217bcc4597
parent 26265 077f20eed4b2
child 26308 f2788794183a
--- a/mercurial/obsolete.py	Thu Sep 17 16:08:10 2015 -0700
+++ b/mercurial/obsolete.py	Sun Sep 13 22:34:58 2015 +0900
@@ -1045,16 +1045,6 @@
                 cache[current] = final
     return cache[initialnode]
 
-def _knownrevs(repo, nodes):
-    """yield revision numbers of known nodes passed in parameters
-
-    Unknown revisions are silently ignored."""
-    torev = repo.changelog.nodemap.get
-    for n in nodes:
-        rev = torev(n)
-        if rev is not None:
-            yield rev
-
 # mapping of 'set-name' -> <function to compute this set>
 cachefuncs = {}
 def cachefor(name):