clfilter: drop extra filtering in localpeer
authorPierre-Yves David <pierre-yves.david@ens-lyon.org>
Sun, 06 Jan 2013 04:28:52 +0100
changeset 18279 679767c38cb5
parent 18278 753acee7d6dd
child 18280 47abbaabaaa5
clfilter: drop extra filtering in localpeer The repository used by localpeer is already filtered. We no longer need to call a special function.
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Sun Jan 06 04:41:11 2013 +0100
+++ b/mercurial/localrepo.py	Sun Jan 06 04:28:52 2013 +0100
@@ -91,10 +91,10 @@
         return self._repo.lookup(key)
 
     def branchmap(self):
-        return discovery.visiblebranchmap(self._repo)
+        return self._repo.branchmap()
 
     def heads(self):
-        return discovery.visibleheads(self._repo)
+        return self._repo.heads()
 
     def known(self, nodes):
         return self._repo.known(nodes)